public enum EnumFacing extends Enum<EnumFacing>
Modifier and Type | Method and Description |
---|---|
static EnumFacing |
getFront(int par0)
Returns the facing that represents the block in front of it.
|
int |
getFrontOffsetX()
Returns a offset that addresses the block in front of this facing.
|
int |
getFrontOffsetY() |
int |
getFrontOffsetZ()
Returns a offset that addresses the block in front of this facing.
|
static EnumFacing |
valueOf(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(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 getFrontOffsetX()
public int getFrontOffsetY()
public int getFrontOffsetZ()
public static EnumFacing getFront(int par0)