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