public class Stairs extends MaterialData implements Directional
| Constructor and Description | 
|---|
Stairs(Material type)  | 
Stairs(Material type,
      byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Stairs | 
clone()  | 
BlockFace | 
getAscendingDirection()  | 
BlockFace | 
getDescendingDirection()  | 
BlockFace | 
getFacing()
Gets the direction this block is facing 
 | 
boolean | 
isInverted()
Test if step is inverted 
 | 
void | 
setFacingDirection(BlockFace face)
Set the direction the stair part of the block is facing 
 | 
void | 
setInverted(boolean inv)
Set step inverted state 
 | 
String | 
toString()  | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic Stairs(Material type)
@Deprecated public Stairs(Material type, byte data)
type - the typedata - the raw data valuepublic BlockFace getAscendingDirection()
public BlockFace getDescendingDirection()
public void setFacingDirection(BlockFace face)
setFacingDirection in interface Directionalface - The facing directionpublic BlockFace getFacing()
DirectionalgetFacing in interface Directionalpublic boolean isInverted()
public void setInverted(boolean inv)
inv - - true if step is inverted (top half), false if step is
     normal (bottom half)public String toString()
toString in class MaterialDatapublic Stairs clone()
clone in class MaterialDataCopyright © 2022. All rights reserved.