Modifier and Type | Class and Description |
---|---|
static class |
BlockFace.EnumAxis |
Modifier and Type | Field and Description |
---|---|
static BlockFace[] |
HORIZONTAL |
Modifier and Type | Method and Description |
---|---|
BlockFace.EnumAxis |
axis() |
BlockFace.EnumAxis |
getAxis()
Deprecated.
|
byte |
getModX()
Deprecated.
|
byte |
getModY()
Deprecated.
|
byte |
getModZ()
Deprecated.
|
byte |
modX() |
byte |
modY() |
byte |
modZ() |
BlockFace |
opposite() |
static BlockFace |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockFace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockFace NORTH
public static final BlockFace SOUTH
public static final BlockFace EAST
public static final BlockFace WEST
public static final BlockFace TOP
public static final BlockFace BOTTOM
public static final BlockFace[] HORIZONTAL
public static BlockFace[] values()
for (BlockFace c : BlockFace.values()) System.out.println(c);
public static BlockFace 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 BlockFace opposite()
public byte modX()
public byte modY()
public byte modZ()
public BlockFace.EnumAxis axis()
@Deprecated public byte getModX()
@Deprecated public byte getModY()
@Deprecated public byte getModZ()
@Deprecated public BlockFace.EnumAxis getAxis()