public static enum BeltTunnelBlock.Shape extends java.lang.Enum<BeltTunnelBlock.Shape> implements net.minecraft.util.IStringSerializable
| Enum Constant and Description |
|---|
CLOSED |
CROSS |
STRAIGHT |
T_LEFT |
T_RIGHT |
WINDOW |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSerializedName() |
static BeltTunnelBlock.Shape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeltTunnelBlock.Shape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeltTunnelBlock.Shape STRAIGHT
public static final BeltTunnelBlock.Shape WINDOW
public static final BeltTunnelBlock.Shape CLOSED
public static final BeltTunnelBlock.Shape T_LEFT
public static final BeltTunnelBlock.Shape T_RIGHT
public static final BeltTunnelBlock.Shape CROSS
public static BeltTunnelBlock.Shape[] values()
for (BeltTunnelBlock.Shape c : BeltTunnelBlock.Shape.values()) System.out.println(c);
public static BeltTunnelBlock.Shape 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.IStringSerializable