public enum VectorFace extends Enum<VectorFace>
| Enum Constant and Description |
|---|
ABOVE_EAST |
ABOVE_NORTH |
ABOVE_SOUTH |
ABOVE_WEST |
BELOW_EAST |
BELOW_NORTH |
BELOW_SOUTH |
BELOW_WEST |
DOWN |
EAST |
NORTH |
NORTH_EAST |
NORTH_WEST |
SELF |
SOUTH |
SOUTH_EAST |
SOUTH_WEST |
UP |
WEST |
| Modifier and Type | Method and Description |
|---|---|
static VectorFace |
fromMods(int modX2,
int modY2,
int modZ2) |
int |
getModX() |
int |
getModY() |
int |
getModZ() |
static VectorFace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VectorFace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VectorFace NORTH
public static final VectorFace EAST
public static final VectorFace SOUTH
public static final VectorFace WEST
public static final VectorFace UP
public static final VectorFace DOWN
public static final VectorFace NORTH_EAST
public static final VectorFace NORTH_WEST
public static final VectorFace SOUTH_EAST
public static final VectorFace SOUTH_WEST
public static final VectorFace ABOVE_NORTH
public static final VectorFace BELOW_NORTH
public static final VectorFace ABOVE_SOUTH
public static final VectorFace BELOW_SOUTH
public static final VectorFace ABOVE_WEST
public static final VectorFace BELOW_WEST
public static final VectorFace ABOVE_EAST
public static final VectorFace BELOW_EAST
public static final VectorFace SELF
public static VectorFace[] values()
for (VectorFace c : VectorFace.values()) System.out.println(c);
public static VectorFace 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 getModZ()
public int getModY()
public static VectorFace fromMods(int modX2, int modY2, int modZ2)
Copyright © 2010-2014. All Rights Reserved.