Package net.minecraft.block
Enum BlockFlowerPot.EnumFlowerType
- java.lang.Object
-
- java.lang.Enum<BlockFlowerPot.EnumFlowerType>
-
- net.minecraft.block.BlockFlowerPot.EnumFlowerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlockFlowerPot.EnumFlowerType>
,IStringSerializable
- Enclosing class:
- BlockFlowerPot
public static enum BlockFlowerPot.EnumFlowerType extends java.lang.Enum<BlockFlowerPot.EnumFlowerType> implements IStringSerializable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACACIA_SAPLING
ALLIUM
BIRCH_SAPLING
BLUE_ORCHID
CACTUS
DANDELION
DARK_OAK_SAPLING
DEAD_BUSH
EMPTY
FERN
HOUSTONIA
JUNGLE_SAPLING
MUSHROOM_BROWN
MUSHROOM_RED
OAK_SAPLING
ORANGE_TULIP
OXEYE_DAISY
PINK_TULIP
POPPY
RED_TULIP
SPRUCE_SAPLING
WHITE_TULIP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.lang.String
toString()
static BlockFlowerPot.EnumFlowerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlockFlowerPot.EnumFlowerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final BlockFlowerPot.EnumFlowerType EMPTY
-
POPPY
public static final BlockFlowerPot.EnumFlowerType POPPY
-
BLUE_ORCHID
public static final BlockFlowerPot.EnumFlowerType BLUE_ORCHID
-
ALLIUM
public static final BlockFlowerPot.EnumFlowerType ALLIUM
-
HOUSTONIA
public static final BlockFlowerPot.EnumFlowerType HOUSTONIA
-
RED_TULIP
public static final BlockFlowerPot.EnumFlowerType RED_TULIP
-
ORANGE_TULIP
public static final BlockFlowerPot.EnumFlowerType ORANGE_TULIP
-
WHITE_TULIP
public static final BlockFlowerPot.EnumFlowerType WHITE_TULIP
-
PINK_TULIP
public static final BlockFlowerPot.EnumFlowerType PINK_TULIP
-
OXEYE_DAISY
public static final BlockFlowerPot.EnumFlowerType OXEYE_DAISY
-
DANDELION
public static final BlockFlowerPot.EnumFlowerType DANDELION
-
OAK_SAPLING
public static final BlockFlowerPot.EnumFlowerType OAK_SAPLING
-
SPRUCE_SAPLING
public static final BlockFlowerPot.EnumFlowerType SPRUCE_SAPLING
-
BIRCH_SAPLING
public static final BlockFlowerPot.EnumFlowerType BIRCH_SAPLING
-
JUNGLE_SAPLING
public static final BlockFlowerPot.EnumFlowerType JUNGLE_SAPLING
-
ACACIA_SAPLING
public static final BlockFlowerPot.EnumFlowerType ACACIA_SAPLING
-
DARK_OAK_SAPLING
public static final BlockFlowerPot.EnumFlowerType DARK_OAK_SAPLING
-
MUSHROOM_RED
public static final BlockFlowerPot.EnumFlowerType MUSHROOM_RED
-
MUSHROOM_BROWN
public static final BlockFlowerPot.EnumFlowerType MUSHROOM_BROWN
-
DEAD_BUSH
public static final BlockFlowerPot.EnumFlowerType DEAD_BUSH
-
FERN
public static final BlockFlowerPot.EnumFlowerType FERN
-
CACTUS
public static final BlockFlowerPot.EnumFlowerType CACTUS
-
-
Method Detail
-
values
public static BlockFlowerPot.EnumFlowerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BlockFlowerPot.EnumFlowerType c : BlockFlowerPot.EnumFlowerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockFlowerPot.EnumFlowerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<BlockFlowerPot.EnumFlowerType>
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceIStringSerializable
-
-