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