public static enum BlockFlower.EnumFlowerType extends java.lang.Enum<BlockFlower.EnumFlowerType> implements IStringSerializable
Enum Constant and Description |
---|
ALLIUM |
BLUE_ORCHID |
DANDELION |
HOUSTONIA |
ORANGE_TULIP |
OXEYE_DAISY |
PINK_TULIP |
POPPY |
RED_TULIP |
WHITE_TULIP |
Modifier and Type | Method and Description |
---|---|
BlockFlower.EnumFlowerColor |
getBlockType() |
int |
getMeta() |
java.lang.String |
getName() |
static BlockFlower.EnumFlowerType |
getType(BlockFlower.EnumFlowerColor blockType,
int meta) |
static BlockFlower.EnumFlowerType[] |
getTypes(BlockFlower.EnumFlowerColor flowerColor) |
java.lang.String |
getUnlocalizedName() |
java.lang.String |
toString() |
static BlockFlower.EnumFlowerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockFlower.EnumFlowerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockFlower.EnumFlowerType DANDELION
public static final BlockFlower.EnumFlowerType POPPY
public static final BlockFlower.EnumFlowerType BLUE_ORCHID
public static final BlockFlower.EnumFlowerType ALLIUM
public static final BlockFlower.EnumFlowerType HOUSTONIA
public static final BlockFlower.EnumFlowerType RED_TULIP
public static final BlockFlower.EnumFlowerType ORANGE_TULIP
public static final BlockFlower.EnumFlowerType WHITE_TULIP
public static final BlockFlower.EnumFlowerType PINK_TULIP
public static final BlockFlower.EnumFlowerType OXEYE_DAISY
public static BlockFlower.EnumFlowerType[] values()
for (BlockFlower.EnumFlowerType c : BlockFlower.EnumFlowerType.values()) System.out.println(c);
public static BlockFlower.EnumFlowerType 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 BlockFlower.EnumFlowerColor getBlockType()
public int getMeta()
public static BlockFlower.EnumFlowerType getType(BlockFlower.EnumFlowerColor blockType, int meta)
public static BlockFlower.EnumFlowerType[] getTypes(BlockFlower.EnumFlowerColor flowerColor)
public java.lang.String toString()
toString
in class java.lang.Enum<BlockFlower.EnumFlowerType>
public java.lang.String getName()
getName
in interface IStringSerializable
public java.lang.String getUnlocalizedName()