public class Sign extends MaterialData implements Attachable
コンストラクタと説明 |
---|
Sign() |
Sign(int type)
非推奨です。
Magic value
|
Sign(int type,
byte data)
非推奨です。
Magic value
|
Sign(Material type) |
Sign(Material type,
byte data)
非推奨です。
Magic value
|
修飾子とタイプ | メソッドと説明 |
---|---|
Sign |
clone() |
BlockFace |
getAttachedFace()
Gets the face that this block is attached on
|
BlockFace |
getFacing()
Gets the direction that this sign is currently facing
|
boolean |
isWallSign()
Check if this sign is attached to a wall
|
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Sign()
@Deprecated public Sign(int type)
type
- the raw type idpublic Sign(Material type)
@Deprecated public Sign(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public Sign(Material type, byte data)
type
- the raw type iddata
- the raw data valuepublic boolean isWallSign()
public BlockFace getAttachedFace()
getAttachedFace
インタフェース内 Attachable
public BlockFace getFacing()
getFacing
インタフェース内 Directional
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
インタフェース内 Directional
face
- The facing directionpublic String toString()
toString
クラス内 MaterialData
public Sign clone()
clone
クラス内 MaterialData
Copyright © 2016. All rights reserved.