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