Package org.bukkit.material
Class Wood
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wood
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
Leaves,Sapling,Tree,WoodenStep
Deprecated, for removal: This API element is subject to removal in a future version.
Represents wood blocks of different species.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final TreeSpeciesDeprecated, for removal: This API element is subject to removal in a future version.protected static final MaterialDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionWood()Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block of the given type.Deprecated.Magic valueWood(Material type, TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block of the given type and tree species.Wood(TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block of the given tree species. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets the current species of this wood blockvoidsetSpecies(TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Sets the species of this wood blocktoString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Field Details
-
DEFAULT_TYPE
Deprecated, for removal: This API element is subject to removal in a future version. -
DEFAULT_SPECIES
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
Wood
public Wood()Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block. -
Wood
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block of the given tree species.- Parameters:
species- the species of the wood block
-
Wood
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block of the given type.- Parameters:
type- the type of wood block
-
Wood
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block of the given type and tree species.- Parameters:
type- the type of wood blockspecies- the species of the wood block
-
Wood
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Details
-
getSpecies
Deprecated, for removal: This API element is subject to removal in a future version.Gets the current species of this wood block- Returns:
- TreeSpecies of this wood block
-
setSpecies
Deprecated, for removal: This API element is subject to removal in a future version.Sets the species of this wood block- Parameters:
species- New species of this wood block
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toStringin classMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clonein classMaterialData
-
BlockData.