public enum FlowerType extends Enum<FlowerType>
Enum Constant and Description |
---|
ALLIUM |
BLUE_ORCHID |
DANDELION |
HOUSTONIA |
OXEYE_DAISY |
POPPY |
TULIP_ORANGE |
TULIP_PINK |
TULIP_RED |
TULIP_WHITE |
Modifier and Type | Method and Description |
---|---|
int |
getData() |
org.bukkit.Material |
getType() |
static FlowerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowerType DANDELION
public static final FlowerType POPPY
public static final FlowerType BLUE_ORCHID
public static final FlowerType ALLIUM
public static final FlowerType HOUSTONIA
public static final FlowerType TULIP_RED
public static final FlowerType TULIP_ORANGE
public static final FlowerType TULIP_WHITE
public static final FlowerType TULIP_PINK
public static final FlowerType OXEYE_DAISY
public static FlowerType[] values()
for (FlowerType c : FlowerType.values()) System.out.println(c);
public static FlowerType 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 nullpublic org.bukkit.Material getType()
public int getData()
Copyright © 2021. All rights reserved.