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