public enum EnumFacing extends java.lang.Enum<EnumFacing>
Modifier and Type | Method and Description |
---|---|
static EnumFacing |
getFront(int par0) |
int |
getFrontOffsetX() |
int |
getFrontOffsetY() |
int |
getFrontOffsetZ() |
static EnumFacing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumFacing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFacing DOWN
public static final EnumFacing UP
public static final EnumFacing NORTH
public static final EnumFacing SOUTH
public static final EnumFacing EAST
public static final EnumFacing WEST
public static EnumFacing[] values()
for (EnumFacing c : EnumFacing.values()) System.out.println(c);
public static EnumFacing 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 int getFrontOffsetX()
public int getFrontOffsetY()
public int getFrontOffsetZ()
public static EnumFacing getFront(int par0)