public enum EnumPlantType extends java.lang.Enum<EnumPlantType>
Enum Constant and Description |
---|
Beach |
Cave |
Crop |
Desert |
Nether |
Plains |
Water |
Modifier and Type | Method and Description |
---|---|
static EnumPlantType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumPlantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumPlantType Plains
public static final EnumPlantType Desert
public static final EnumPlantType Beach
public static final EnumPlantType Cave
public static final EnumPlantType Water
public static final EnumPlantType Nether
public static final EnumPlantType Crop
public static EnumPlantType[] values()
for (EnumPlantType c : EnumPlantType.values()) System.out.println(c);
public static 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 null