public class Sign extends MaterialData implements Attachable
Constructor and Description |
---|
Sign() |
Sign(int type)
Deprecated.
Magic value
|
Sign(int type,
byte data)
Deprecated.
Magic value
|
Sign(Material type) |
Sign(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and 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
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Sign()
@Deprecated public Sign(int type)
public Sign(Material type)
@Deprecated public Sign(int type, byte data)
@Deprecated public Sign(Material type, byte data)
public boolean isWallSign()
public BlockFace getAttachedFace()
getAttachedFace
in interface Attachable
public BlockFace getFacing()
getFacing
in interface Directional
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
in interface Directional
face
- The facing directionpublic String toString()
toString
in class MaterialData
public Sign clone()
clone
in class MaterialData
Copyright © 2014. All rights reserved.