Package org.bukkit.material
Class WoodenStep
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wood
org.bukkit.material.WoodenStep
- All Implemented Interfaces:
- Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
Represents the different types of wooden steps.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final booleanDeprecated, 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.Fields inherited from class org.bukkit.material.WoodDEFAULT_SPECIES
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs a wooden step.WoodenStep(Material type, byte data) Deprecated.Magic valueWoodenStep(TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wooden step of the given tree species.WoodenStep(TreeSpecies species, boolean inv) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wooden step of the given type and tree species, either inverted or not.
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Test if step is invertedvoidsetInverted(boolean inv) Deprecated, for removal: This API element is subject to removal in a future version.Set step inverted statetoString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.WoodgetSpecies, setSpeciesMethods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Field Details- 
DEFAULT_TYPEDeprecated, for removal: This API element is subject to removal in a future version.
- 
DEFAULT_INVERTEDprotected static final boolean DEFAULT_INVERTEDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
 
 
- 
- 
Constructor Details- 
WoodenSteppublic WoodenStep()Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wooden step.
- 
WoodenStepDeprecated, for removal: This API element is subject to removal in a future version.Constructs a wooden step of the given tree species.- Parameters:
- species- the species of the wooden step
 
- 
WoodenStepDeprecated, for removal: This API element is subject to removal in a future version.Constructs a wooden step of the given type and tree species, either inverted or not.- Parameters:
- species- the species of the wooden step
- inv- true the step is at the top of the block
 
- 
WoodenStepDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
isInvertedpublic boolean isInverted()Deprecated, for removal: This API element is subject to removal in a future version.Test if step is inverted- Returns:
- true if inverted (top half), false if normal (bottom half)
 
- 
setInvertedpublic void setInverted(boolean inv) Deprecated, for removal: This API element is subject to removal in a future version.Set step inverted state- Parameters:
- inv- - true if step is inverted (top half), false if step is normal (bottom half)
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
BlockData.