java.lang.Cloneable, Attachable, Directionalpublic class Sign extends MaterialData implements Attachable
| Constructor | Description | 
|---|---|
| Sign() | |
| Sign(Material type) | |
| Sign(Material type,
    byte data) | Deprecated.
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| 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 | 
| java.lang.String | toString() | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic Sign()
public Sign(Material type)
@Deprecated public Sign(Material type, byte data)
type - the raw type iddata - the raw data valuepublic boolean isWallSign()
public BlockFace getAttachedFace()
getAttachedFace in interface Attachablepublic BlockFace getFacing()
getFacing in interface Directionalpublic void setFacingDirection(BlockFace face)
DirectionalsetFacingDirection in interface Directionalface - The facing directionpublic java.lang.String toString()
toString in class MaterialDatapublic Sign clone()
clone in class MaterialDataCopyright © 2018. All rights reserved.