Cloneable
, Directional
BlockData
.@Deprecated public class Stairs extends MaterialData implements Directional
Constructor | Description |
---|---|
Stairs(Material type) |
Deprecated.
|
Stairs(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
Stairs |
clone() |
Deprecated.
|
BlockFace |
getAscendingDirection() |
Deprecated.
|
BlockFace |
getDescendingDirection() |
Deprecated.
|
BlockFace |
getFacing() |
Deprecated.
Gets the direction this block is facing
|
boolean |
isInverted() |
Deprecated.
Test if step is inverted
|
void |
setFacingDirection(BlockFace face) |
Deprecated.
Set the direction the stair part of the block is facing
|
void |
setInverted(boolean inv) |
Deprecated.
Set step inverted state
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public 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 Directional
face
- The facing directionpublic BlockFace getFacing()
Directional
getFacing
in interface Directional
public 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 MaterialData
public Stairs clone()
clone
in class MaterialData
Copyright © 2019. All rights reserved.