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