public static enum SidePicker.Side extends java.lang.Enum<SidePicker.Side>
Modifier and Type | Method and Description |
---|---|
static SidePicker.Side |
fromDirection(net.minecraft.util.Direction dir) |
net.minecraft.util.Direction |
toDirection() |
static SidePicker.Side |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SidePicker.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SidePicker.Side XNeg
public static final SidePicker.Side XPos
public static final SidePicker.Side YNeg
public static final SidePicker.Side YPos
public static final SidePicker.Side ZNeg
public static final SidePicker.Side ZPos
public static SidePicker.Side[] values()
for (SidePicker.Side c : SidePicker.Side.values()) System.out.println(c);
public static SidePicker.Side 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 static SidePicker.Side fromDirection(net.minecraft.util.Direction dir)
public net.minecraft.util.Direction toDirection()