public static enum PacketPlayInResourcePackStatus.ResourcePackStatus extends java.lang.Enum<PacketPlayInResourcePackStatus.ResourcePackStatus>
Enum Constant and Description |
---|
ACCEPTED |
DECLINED |
FAILED_DOWNLOAD |
SUCCESSFULLY_LOADED |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
toVanillaRPStatus() |
static PacketPlayInResourcePackStatus.ResourcePackStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketPlayInResourcePackStatus.ResourcePackStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketPlayInResourcePackStatus.ResourcePackStatus SUCCESSFULLY_LOADED
public static final PacketPlayInResourcePackStatus.ResourcePackStatus DECLINED
public static final PacketPlayInResourcePackStatus.ResourcePackStatus FAILED_DOWNLOAD
public static final PacketPlayInResourcePackStatus.ResourcePackStatus ACCEPTED
public static PacketPlayInResourcePackStatus.ResourcePackStatus[] values()
for (PacketPlayInResourcePackStatus.ResourcePackStatus c : PacketPlayInResourcePackStatus.ResourcePackStatus.values()) System.out.println(c);
public static PacketPlayInResourcePackStatus.ResourcePackStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Object toVanillaRPStatus()