public static enum BlockSandStone.EnumType extends java.lang.Enum<BlockSandStone.EnumType> implements IStringSerializable
Modifier and Type | Field and Description |
---|---|
private static BlockSandStone.EnumType[] |
META_LOOKUP |
private int |
metadata |
private java.lang.String |
name |
private java.lang.String |
unlocalizedName |
Modifier and Type | Method and Description |
---|---|
static BlockSandStone.EnumType |
byMetadata(int meta) |
int |
getMetadata() |
java.lang.String |
getName() |
java.lang.String |
getUnlocalizedName() |
java.lang.String |
toString() |
static BlockSandStone.EnumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockSandStone.EnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockSandStone.EnumType DEFAULT
public static final BlockSandStone.EnumType CHISELED
public static final BlockSandStone.EnumType SMOOTH
private static final BlockSandStone.EnumType[] META_LOOKUP
private final int metadata
private final java.lang.String name
private final java.lang.String unlocalizedName
public static BlockSandStone.EnumType[] values()
for (BlockSandStone.EnumType c : BlockSandStone.EnumType.values()) System.out.println(c);
public static BlockSandStone.EnumType 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 int getMetadata()
public java.lang.String toString()
toString
in class java.lang.Enum<BlockSandStone.EnumType>
public static BlockSandStone.EnumType byMetadata(int meta)
public java.lang.String getName()
getName
in interface IStringSerializable
public java.lang.String getUnlocalizedName()