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