public static enum CPacketEntityAction.Action extends java.lang.Enum<CPacketEntityAction.Action>
Enum Constant and Description |
---|
OPEN_INVENTORY |
START_FALL_FLYING |
START_RIDING_JUMP |
START_SNEAKING |
START_SPRINTING |
STOP_RIDING_JUMP |
STOP_SLEEPING |
STOP_SNEAKING |
STOP_SPRINTING |
Modifier and Type | Method and Description |
---|---|
static CPacketEntityAction.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPacketEntityAction.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPacketEntityAction.Action START_SNEAKING
public static final CPacketEntityAction.Action STOP_SNEAKING
public static final CPacketEntityAction.Action STOP_SLEEPING
public static final CPacketEntityAction.Action START_SPRINTING
public static final CPacketEntityAction.Action STOP_SPRINTING
public static final CPacketEntityAction.Action START_RIDING_JUMP
public static final CPacketEntityAction.Action STOP_RIDING_JUMP
public static final CPacketEntityAction.Action OPEN_INVENTORY
public static final CPacketEntityAction.Action START_FALL_FLYING
public static CPacketEntityAction.Action[] values()
for (CPacketEntityAction.Action c : CPacketEntityAction.Action.values()) System.out.println(c);
public static CPacketEntityAction.Action 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