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