public static enum NPacketPlayInBlockDig.DigFace extends Enum<NPacketPlayInBlockDig.DigFace>
Modifier and Type | Method and Description |
---|---|
static NPacketPlayInBlockDig.DigFace |
getById(int id) |
int |
getId() |
static NPacketPlayInBlockDig.DigFace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NPacketPlayInBlockDig.DigFace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NPacketPlayInBlockDig.DigFace BOTTOM
public static final NPacketPlayInBlockDig.DigFace TOP
public static final NPacketPlayInBlockDig.DigFace NORTH
public static final NPacketPlayInBlockDig.DigFace SOUTH
public static final NPacketPlayInBlockDig.DigFace WEST
public static final NPacketPlayInBlockDig.DigFace EAST
public static NPacketPlayInBlockDig.DigFace[] values()
for (NPacketPlayInBlockDig.DigFace c : NPacketPlayInBlockDig.DigFace.values()) System.out.println(c);
public static NPacketPlayInBlockDig.DigFace 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 nullpublic int getId()
public static NPacketPlayInBlockDig.DigFace getById(int id)