Cloneable
, Attachable
, Directional
@Deprecated public class Sign extends MaterialData implements Attachable
BlockData
.Constructor | Description |
---|---|
Sign() |
Deprecated.
|
Sign(Material type) |
Deprecated.
|
Sign(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
Sign |
clone() |
Deprecated.
|
BlockFace |
getAttachedFace() |
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
getFacing() |
Deprecated.
Gets the direction that this sign is currently facing
|
boolean |
isWallSign() |
Deprecated.
Check if this sign is attached to a wall
|
void |
setFacingDirection(BlockFace face) |
Deprecated.
Sets the direction that this block is facing in
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public 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 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 © 2020. All rights reserved.