类 Sign

所有已实现的接口:
Cloneable, Attachable, Directional

@Deprecated public class Sign extends MaterialData implements Attachable
已过时。
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
MaterialData for signs
  • 构造器详细资料

    • Sign

      public Sign()
      已过时。
    • Sign

      public Sign(Material type)
      已过时。
    • Sign

      @Deprecated public Sign(Material type, byte data)
      已过时。
      Magic value
      参数:
      type - the raw type id
      data - the raw data value
  • 方法详细资料

    • isWallSign

      public boolean isWallSign()
      已过时。
      Check if this sign is attached to a wall
      返回:
      true if this sign is attached to a wall, false if set on top of a block
    • getAttachedFace

      public BlockFace getAttachedFace()
      已过时。
      Gets the face that this block is attached on
      指定者:
      getAttachedFace 在接口中 Attachable
      返回:
      BlockFace attached to
    • getFacing

      public BlockFace getFacing()
      已过时。
      Gets the direction that this sign is currently facing
      指定者:
      getFacing 在接口中 Directional
      返回:
      BlockFace indicating where this sign is facing
    • setFacingDirection

      public void setFacingDirection(BlockFace face)
      已过时。
      从接口复制的说明: Directional
      Sets the direction that this block is facing in
      指定者:
      setFacingDirection 在接口中 Directional
      参数:
      face - The facing direction
    • toString

      public String toString()
      已过时。
      覆盖:
      toString 在类中 MaterialData
    • clone

      public Sign clone()
      已过时。
      覆盖:
      clone 在类中 MaterialData