类 Sign
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Sign
- 所有已实现的接口:
Cloneable,Attachable,Directional
已过时。
告示牌的 MaterialData。
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()已过时。已过时。获取此方块所附着的面。已过时。获取此告示牌当前朝向的方向。boolean已过时。检查此告示牌是否附着在墙上。voidsetFacingDirection(BlockFace face) 已过时。设置此方块的朝向.toString()已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Sign
public Sign()已过时。 -
Sign
已过时。 -
Sign
已过时。魔法值原文:Magic value
- 参数:
type- 原始类型 IDdata- 原始数据值
-
-
方法详细资料
-
isWallSign
public boolean isWallSign()已过时。检查此告示牌是否附着在墙上。- 返回:
- 如果此告示牌附着在墙上则返回 true,如果放置在方块顶部则返回 false
原文:Check if this sign is attached to a wall
-
getAttachedFace
已过时。获取此方块所附着的面。- 指定者:
getAttachedFace在接口中Attachable- 返回:
- 附着的 BlockFace
原文:Gets the face that this block is attached on
-
getFacing
已过时。获取此告示牌当前朝向的方向。- 指定者:
getFacing在接口中Directional- 返回:
- 指示此告示牌朝向的 BlockFace
原文:Gets the direction that this sign is currently facing
-
setFacingDirection
已过时。从接口复制的说明:Directional设置此方块的朝向.原文: Sets the direction that this block is facing in
- 指定者:
setFacingDirection在接口中Directional- 参数:
face- 朝向
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
BlockData。