类 Step

所有已实现的接口:
Cloneable

@Deprecated public class Step extends TexturedMaterial
已过时。
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
代表不同的台阶.
  • 构造器详细资料

    • Step

      public Step()
      已过时。
    • Step

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

      @Deprecated public Step(Material type, byte data)
      已过时。
      不安全的参数
      参数:
      type - the type
      data - the raw data value
  • 方法详细资料

    • getTextures

      public List<Material> getTextures()
      已过时。
      从类复制的说明: TexturedMaterial
      Retrieve a list of possible textures. The first element of the list will be used as a default.
      指定者:
      getTextures 在类中 TexturedMaterial
      返回:
      a list of possible textures for this block
    • isInverted

      public boolean isInverted()
      已过时。
      检查此台阶是否被反转.

      原文:Test if step is inverted

      返回:
      上半台阶(反转的台阶)为true,普通台阶(底部台阶)为false
    • setInverted

      public void setInverted(boolean inv)
      已过时。
      设置台阶是否被反转.

      原文:Set step inverted state

      参数:
      inv - - 上半台阶(反转的台阶)为true,普通台阶(底部台阶)为false
    • getTextureIndex

      protected int getTextureIndex()
      已过时。
      Magic value
      Get material index from data
      覆盖:
      getTextureIndex 在类中 TexturedMaterial
      返回:
      index of data in textures list
    • setTextureIndex

      @Deprecated protected void setTextureIndex(int idx)
      已过时。
      Magic value
      Set material index
      覆盖:
      setTextureIndex 在类中 TexturedMaterial
      参数:
      idx - - index of data in textures list
    • clone

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

      public String toString()
      已过时。
      覆盖:
      toString 在类中 TexturedMaterial