public enum MultiBlockPosition extends java.lang.Enum<MultiBlockPosition> implements net.minecraft.util.IStringSerializable
Modifier and Type | Method and Description |
---|---|
static MultiBlockPosition |
fromMeta(int i) |
java.lang.String |
getSerializedName() |
int |
toMeta() |
java.lang.String |
toString() |
static MultiBlockPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultiBlockPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiBlockPosition TOP
public static final MultiBlockPosition BOTTOM
public static final MultiBlockPosition BASE
public static MultiBlockPosition[] values()
for (MultiBlockPosition c : MultiBlockPosition.values()) System.out.println(c);
public static MultiBlockPosition 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
public int toMeta()
public static MultiBlockPosition fromMeta(int i)
public java.lang.String toString()
toString
in class java.lang.Enum<MultiBlockPosition>