|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.Sign
public class Sign
MaterialData for signs
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.bukkit.material.MaterialData |
---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |