public enum LocationAxis extends java.lang.Enum<LocationAxis>
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static LocationAxis |
at(int index) |
double |
getValue(org.bukkit.Location location) |
static LocationAxis |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocationAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationAxis X
public static final LocationAxis Y
public static final LocationAxis Z
public static LocationAxis[] values()
for (LocationAxis c : LocationAxis.values()) System.out.println(c);
public static LocationAxis 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 double getValue(org.bukkit.Location location)
public static LocationAxis at(int index)