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