Package org.bukkit
Enum Class TreeSpecies
- All Implemented Interfaces:
- Serializable,- Comparable<TreeSpecies>,- Constable
Deprecated.
Deprecated, see usage methods for replacement(s)
Represents the different species of trees regardless of size.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDeprecated.Represents acacia trees.Deprecated.Represents birches.Deprecated.Represents dark oak trees.Deprecated.Represents the common tree species.Deprecated.Represents jungle trees.Deprecated.Represents the darker barked/leaved tree species.
- 
Method SummaryModifier and TypeMethodDescriptionstatic TreeSpeciesgetByData(byte data) Deprecated.Magic valuebytegetData()Deprecated.Magic valuestatic TreeSpeciesDeprecated.Returns the enum constant of this class with the specified name.static TreeSpecies[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
GENERICDeprecated.Represents the common tree species.
- 
REDWOODDeprecated.Represents the darker barked/leaved tree species.
- 
BIRCHDeprecated.Represents birches.
- 
JUNGLEDeprecated.Represents jungle trees.
- 
ACACIADeprecated.Represents acacia trees.
- 
DARK_OAKDeprecated.Represents dark oak trees.
 
- 
- 
Method Details- 
valuesDeprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfDeprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getDataDeprecated.Magic valueGets the associated data value representing this species- Returns:
- A byte containing the data value of this tree species
 
- 
getByDataDeprecated.Magic valueGets the TreeSpecies with the given data value- Parameters:
- data- Data value to fetch
- Returns:
- The TreeSpeciesrepresenting the given value, or null if it doesn't exist
 
 
-