public enum DoublePlantSpecies extends Enum<DoublePlantSpecies>
Enum Constant and Description |
---|
DOUBLE_TALLGRASS
Represents the tall grass double plant.
|
LARGE_FERN
Represents the large fern double plant.
|
LILAC
Represents the lilac double plant.
|
PEONY
Represents the peony double plant.
|
PLANT_APEX
Represents the upper part of a double plant.
|
ROSE_BUSH
Represents the rose bush double plant.
|
SUNFLOWER
Represents the sunflower double plant.
|
Modifier and Type | Method and Description |
---|---|
static DoublePlantSpecies |
getByData(byte data)
Deprecated.
Magic value
|
byte |
getData()
Deprecated.
Magic value
|
static DoublePlantSpecies |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoublePlantSpecies[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoublePlantSpecies SUNFLOWER
public static final DoublePlantSpecies LILAC
public static final DoublePlantSpecies DOUBLE_TALLGRASS
public static final DoublePlantSpecies LARGE_FERN
public static final DoublePlantSpecies ROSE_BUSH
public static final DoublePlantSpecies PEONY
public static final DoublePlantSpecies PLANT_APEX
public static DoublePlantSpecies[] values()
for (DoublePlantSpecies c : DoublePlantSpecies.values()) System.out.println(c);
public static DoublePlantSpecies 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 null@Deprecated public byte getData()
@Deprecated public static DoublePlantSpecies getByData(byte data)
data
- The data value to fetchDoublePlantSpecies
representing the given value, or null
if it doesn't existCopyright © 2021. All rights reserved.