public static enum CResourcePackStatusPacket.Action extends java.lang.Enum<CResourcePackStatusPacket.Action>
Enum Constant and Description |
---|
ACCEPTED |
DECLINED |
FAILED_DOWNLOAD |
SUCCESSFULLY_LOADED |
Modifier and Type | Method and Description |
---|---|
static CResourcePackStatusPacket.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CResourcePackStatusPacket.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CResourcePackStatusPacket.Action SUCCESSFULLY_LOADED
public static final CResourcePackStatusPacket.Action DECLINED
public static final CResourcePackStatusPacket.Action FAILED_DOWNLOAD
public static final CResourcePackStatusPacket.Action ACCEPTED
public static CResourcePackStatusPacket.Action[] values()
for (CResourcePackStatusPacket.Action c : CResourcePackStatusPacket.Action.values()) System.out.println(c);
public static CResourcePackStatusPacket.Action 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 null