public enum PlantType extends Enum<PlantType>
| Enum Constant and 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 |
RED_TULIP |
ROSE |
SPRUCE_SAPLING |
WHITE_TULIP |
| Modifier and Type | Method and Description |
|---|---|
static PlantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlantType EMPTY
public static final PlantType ROSE
public static final PlantType BLUE_ORCHID
public static final PlantType ALLIUM
public static final PlantType HOUSTONIA
public static final PlantType RED_TULIP
public static final PlantType ORANGE_TULIP
public static final PlantType WHITE_TULIP
public static final PlantType PINK_TULIP
public static final PlantType OXEYE_DAISY
public static final PlantType DANDELION
public static final PlantType OAK_SAPLING
public static final PlantType SPRUCE_SAPLING
public static final PlantType BIRCH_SAPLING
public static final PlantType JUNGLE_SAPLING
public static final PlantType ACACIA_SAPLING
public static final PlantType DARK_OAK_SAPLING
public static final PlantType MUSHROOM_RED
public static final PlantType MUSHROOM_BROWN
public static final PlantType DEAD_BUSH
public static final PlantType FERN
public static final PlantType CACTUS
public static PlantType[] values()
for (PlantType c : PlantType.values()) System.out.println(c);
public static PlantType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2020 NukkitX. All rights reserved.