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