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