public class Stairs extends MaterialData implements Directional
コンストラクタと説明 |
---|
Stairs(int type)
非推奨です。
Magic value
|
Stairs(int type,
byte data)
非推奨です。
Magic value
|
Stairs(Material type) |
Stairs(Material type,
byte data)
非推奨です。
Magic value
|
修飾子とタイプ | メソッドと説明 |
---|---|
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, getItemTypeId, hashCode, setData, toItemStack, toItemStack
@Deprecated public Stairs(int type)
type
- the raw type idpublic Stairs(Material type)
@Deprecated public Stairs(int type, byte data)
type
- the raw type iddata
- the raw data value@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
インタフェース内 Directional
face
- The facing directionpublic BlockFace getFacing()
Directional
getFacing
インタフェース内 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
クラス内 MaterialData
public Stairs clone()
clone
クラス内 MaterialData
Copyright © 2016. All rights reserved.