public enum BlockFace extends Enum<BlockFace>
Enum Constant and Description |
---|
DOWN |
EAST |
EAST_NORTH_EAST |
EAST_SOUTH_EAST |
NORTH |
NORTH_EAST |
NORTH_NORTH_EAST |
NORTH_NORTH_WEST |
NORTH_WEST |
SELF |
SOUTH |
SOUTH_EAST |
SOUTH_SOUTH_EAST |
SOUTH_SOUTH_WEST |
SOUTH_WEST |
UP |
WEST |
WEST_NORTH_WEST |
WEST_SOUTH_WEST |
Modifier and Type | Method and Description |
---|---|
int |
getModX() |
int |
getModY() |
int |
getModZ() |
BlockFace |
getOppositeFace() |
static BlockFace |
valueOf(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 EAST
public static final BlockFace SOUTH
public static final BlockFace WEST
public static final BlockFace UP
public static final BlockFace DOWN
public static final BlockFace NORTH_EAST
public static final BlockFace NORTH_WEST
public static final BlockFace SOUTH_EAST
public static final BlockFace SOUTH_WEST
public static final BlockFace WEST_NORTH_WEST
public static final BlockFace NORTH_NORTH_WEST
public static final BlockFace NORTH_NORTH_EAST
public static final BlockFace EAST_NORTH_EAST
public static final BlockFace EAST_SOUTH_EAST
public static final BlockFace SOUTH_SOUTH_EAST
public static final BlockFace SOUTH_SOUTH_WEST
public static final BlockFace WEST_SOUTH_WEST
public static final BlockFace SELF
public static BlockFace[] values()
for (BlockFace c : BlockFace.values()) System.out.println(c);
public static BlockFace 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 getModX()
public int getModY()
public int getModZ()
public BlockFace getOppositeFace()