public static enum AdvancementTabC2SPacket.Action extends Enum<AdvancementTabC2SPacket.Action>
Enum Constant and Description |
---|
CLOSED_SCREEN |
OPENED_TAB |
Modifier and Type | Method and Description |
---|---|
static AdvancementTabC2SPacket.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdvancementTabC2SPacket.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancementTabC2SPacket.Action OPENED_TAB
public static final AdvancementTabC2SPacket.Action CLOSED_SCREEN
public static AdvancementTabC2SPacket.Action[] values()
for (AdvancementTabC2SPacket.Action c : AdvancementTabC2SPacket.Action.values()) System.out.println(c);
public static AdvancementTabC2SPacket.Action valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null