| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.Direction |
getCombinedDirection(net.minecraft.util.Direction direction) |
java.lang.String |
getSerializedName() |
int |
getXRotation() |
static Pointing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pointing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pointing UP
public static final Pointing LEFT
public static final Pointing DOWN
public static final Pointing RIGHT
public static Pointing[] values()
for (Pointing c : Pointing.values()) System.out.println(c);
public static Pointing 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 java.lang.String getSerializedName()
getSerializedName in interface net.minecraft.util.IStringSerializablepublic int getXRotation()
public net.minecraft.util.Direction getCombinedDirection(net.minecraft.util.Direction direction)