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.
Represents wood blocks of different species.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final TreeSpeciesDeprecated.protected static final MaterialDeprecated.
- 
Constructor SummaryConstructorsConstructorDescriptionWood()Deprecated.Constructs a wood block.Deprecated.Constructs a wood block of the given type.Deprecated.Magic valueWood(Material type, TreeSpecies species) Deprecated.Constructs a wood block of the given type and tree species.Wood(TreeSpecies species) Deprecated.Constructs a wood block of the given tree species.
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.Deprecated.Gets the current species of this wood blockvoidsetSpecies(TreeSpecies species) Deprecated.Sets the species of this wood blocktoString()Deprecated.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Field Details- 
DEFAULT_TYPEDeprecated.
- 
DEFAULT_SPECIESDeprecated.
 
- 
- 
Constructor Details- 
Woodpublic Wood()Deprecated.Constructs a wood block.
- 
WoodDeprecated.Constructs a wood block of the given tree species.- Parameters:
- species- the species of the wood block
 
- 
WoodDeprecated.Constructs a wood block of the given type.- Parameters:
- type- the type of wood block
 
- 
WoodDeprecated.Constructs a wood block of the given type and tree species.- Parameters:
- type- the type of wood block
- species- the species of the wood block
 
- 
WoodDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getSpeciesDeprecated.Gets the current species of this wood block- Returns:
- TreeSpecies of this wood block
 
- 
setSpeciesDeprecated.Sets the species of this wood block- Parameters:
- species- New species of this wood block
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.