public static enum EnumAllele.Flowers extends java.lang.Enum<EnumAllele.Flowers> implements IAlleleValue<FlowerProvider>
| Enum Constant and Description |
|---|
CACTI |
END |
GOURD |
JUNGLE |
MUSHROOMS |
NETHER |
SNOW |
VANILLA |
WHEAT |
| Modifier and Type | Method and Description |
|---|---|
FlowerProvider |
getValue() |
boolean |
isDominant() |
static EnumAllele.Flowers |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumAllele.Flowers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumAllele.Flowers VANILLA
public static final EnumAllele.Flowers NETHER
public static final EnumAllele.Flowers CACTI
public static final EnumAllele.Flowers MUSHROOMS
public static final EnumAllele.Flowers END
public static final EnumAllele.Flowers JUNGLE
public static final EnumAllele.Flowers SNOW
public static final EnumAllele.Flowers WHEAT
public static final EnumAllele.Flowers GOURD
public static EnumAllele.Flowers[] values()
for (EnumAllele.Flowers c : EnumAllele.Flowers.values()) System.out.println(c);
public static EnumAllele.Flowers 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 FlowerProvider getValue()
getValue in interface IAlleleValue<FlowerProvider>public boolean isDominant()
isDominant in interface IAlleleValue<FlowerProvider>