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