BlockData
.@Deprecated public class Sign extends MaterialData implements Attachable
构造器和说明 |
---|
Sign()
已过时。
|
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
|
java.lang.String |
toString()
已过时。
|
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
在接口中 Attachable
public BlockFace getFacing()
getFacing
在接口中 Directional
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
在接口中 Directional
face
- The facing directionpublic java.lang.String toString()
toString
在类中 MaterialData
public Sign clone()
clone
在类中 MaterialData