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