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