Package org.bukkit.material
Class Stairs
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Stairs
- All Implemented Interfaces:
- Cloneable,- Directional
@Deprecated(since="1.13",
            forRemoval=true)
public class Stairs
extends MaterialData
implements Directional
Deprecated, for removal: This API element is subject to removal in a future version.
Represents stairs.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.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 direction this block is facingbooleanDeprecated, for removal: This API element is subject to removal in a future version.Test if step is invertedvoidsetFacingDirection(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Set the direction the stair part of the block is facingvoidsetInverted(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.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
StairsDeprecated, for removal: This API element is subject to removal in a future version.
- 
StairsDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getAscendingDirectionDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the direction the stairs ascend towards
 
- 
getDescendingDirectionDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the direction the stairs descend towards
 
- 
setFacingDirectionDeprecated, for removal: This API element is subject to removal in a future version.Set the direction the stair part of the block is facing- Specified by:
- setFacingDirectionin interface- Directional
- Parameters:
- face- The facing direction
 
- 
getFacingDeprecated, for removal: This API element is subject to removal in a future version.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, 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)
 
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.