Enum PacketClientCommandEvent.EnumClientCommand
- java.lang.Object
-
- java.lang.Enum<PacketClientCommandEvent.EnumClientCommand>
-
- me.clientastisch.events.event.impl.player.actions.PacketClientCommandEvent.EnumClientCommand
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PacketClientCommandEvent.EnumClientCommand>
- Enclosing class:
- PacketClientCommandEvent
public static enum PacketClientCommandEvent.EnumClientCommand extends java.lang.Enum<PacketClientCommandEvent.EnumClientCommand>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NULL
OPEN_INVENTORY_ACHIEVEMENT
PERFORM_RESPAWN
REQUEST_STATS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PacketClientCommandEvent.EnumClientCommand
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PacketClientCommandEvent.EnumClientCommand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERFORM_RESPAWN
public static final PacketClientCommandEvent.EnumClientCommand PERFORM_RESPAWN
-
REQUEST_STATS
public static final PacketClientCommandEvent.EnumClientCommand REQUEST_STATS
-
OPEN_INVENTORY_ACHIEVEMENT
public static final PacketClientCommandEvent.EnumClientCommand OPEN_INVENTORY_ACHIEVEMENT
-
NULL
public static final PacketClientCommandEvent.EnumClientCommand NULL
-
-
Method Detail
-
values
public static PacketClientCommandEvent.EnumClientCommand[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PacketClientCommandEvent.EnumClientCommand c : PacketClientCommandEvent.EnumClientCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PacketClientCommandEvent.EnumClientCommand valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-