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