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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.Deprecated.Deprecated.Deprecated.Gets the direction this block is facingboolean
Deprecated.Test if step is invertedvoid
setFacingDirection
(BlockFace face) Deprecated.Set the direction the stair part of the block is facingvoid
setInverted
(boolean inv) Deprecated.Set step inverted statetoString()
Deprecated.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Stairs
Deprecated. -
Stairs
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
getAscendingDirection
Deprecated.- Returns:
- the direction the stairs ascend towards
-
getDescendingDirection
Deprecated.- Returns:
- the direction the stairs descend towards
-
setFacingDirection
Deprecated.Set the direction the stair part of the block is facing- Specified by:
setFacingDirection
in interfaceDirectional
- Parameters:
face
- The facing direction
-
getFacing
Deprecated.Description copied from interface:Directional
Gets the direction this block is facing- Specified by:
getFacing
in interfaceDirectional
- Returns:
- the direction the stair part of the block is facing
-
isInverted
public boolean isInverted()Deprecated.Test if step is inverted- Returns:
- true if inverted (top half), false if normal (bottom half)
-
setInverted
public 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)
-
toString
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
Deprecated.- Overrides:
clone
in classMaterialData
-
BlockData
.