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