类 Sandstone

java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Sandstone
所有已实现的接口:
Cloneable

@Deprecated(since="1.14.1") public class Sandstone extends MaterialData
已过时。
所有 MaterialData 的用法都已弃用并可能被移除。 请使用 BlockData。
代表不同类型的砂岩。
  • 构造器详细资料

    • Sandstone

      public Sandstone()
      已过时。
    • Sandstone

      public Sandstone(SandstoneType type)
      已过时。
    • Sandstone

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

      @Deprecated(since="1.6.2") public Sandstone(Material type, byte data)
      已过时。
      魔法值

      原文:Magic value

      参数:
      type - 物品类型
      data - 原始数据值
  • 方法详细资料

    • getType

      public SandstoneType getType()
      已过时。
      获取此砂岩的当前类型。
      返回:
      此砂岩的 SandstoneType

      原文:Gets the current type of this sandstone

    • setType

      public void setType(SandstoneType type)
      已过时。
      设置此砂岩的类型。
      参数:
      type - 此砂岩的新类型

      原文:Sets the type of this sandstone

    • toString

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

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