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