| Enum Constant and Description |
|---|
DOWNWARD |
HORIZONTAL |
SIDEWAYS |
UPWARD |
VERTICAL |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSerializedName() |
boolean |
isDiagonal() |
static BeltSlope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeltSlope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeltSlope HORIZONTAL
public static final BeltSlope UPWARD
public static final BeltSlope DOWNWARD
public static final BeltSlope VERTICAL
public static final BeltSlope SIDEWAYS
public static BeltSlope[] values()
for (BeltSlope c : BeltSlope.values()) System.out.println(c);
public static BeltSlope 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 boolean isDiagonal()