Package org.bukkit.material
Class Stairs
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Stairs
- All Implemented Interfaces:
- Cloneable,- Directional
Deprecated.
Represents stairs.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.Deprecated.Deprecated.Deprecated.Gets the direction this block is facingbooleanDeprecated.Test if step is invertedvoidsetFacingDirection(BlockFace face) Deprecated.Set the direction the stair part of the block is facingvoidsetInverted(boolean inv) Deprecated.Set step inverted statetoString()Deprecated.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
StairsDeprecated.
- 
StairsDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getAscendingDirectionDeprecated.- Returns:
- the direction the stairs ascend towards
 
- 
getDescendingDirectionDeprecated.- Returns:
- the direction the stairs descend towards
 
- 
setFacingDirectionDeprecated.Set the direction the stair part of the block is facing- Specified by:
- setFacingDirectionin interface- Directional
- Parameters:
- face- The facing direction
 
- 
getFacingDeprecated.Description copied from interface:DirectionalGets the direction this block is facing- Specified by:
- getFacingin interface- Directional
- Returns:
- the direction the stair part of the block is facing
 
- 
isInvertedpublic boolean isInverted()Deprecated.Test if step is inverted- Returns:
- true if inverted (top half), false if normal (bottom half)
 
- 
setInvertedpublic void setInverted(boolean inv) Deprecated.Set step inverted state- Parameters:
- inv- - true if step is inverted (top half), false if step is normal (bottom half)
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.