类 Mushroom

所有已实现的接口:
Cloneable

public class Mushroom extends MaterialData
Represents a huge mushroom block with certain combinations of faces set to cap, pores or stem.
另请参阅:
  • 构造器详细资料

    • Mushroom

      public Mushroom(Material shroom)
      Constructs a brown/red mushroom block with all sides set to pores.
      参数:
      shroom - A brown or red mushroom material type.
      另请参阅:
    • Mushroom

      public Mushroom(Material shroom, BlockFace capFace)
      Constructs a brown/red mushroom cap block with the specified face or faces set to cap texture. Setting any of the four sides will also set the top to cap. To set two side faces at once use e.g. north-west. Specify self to set all six faces at once.
      参数:
      shroom - A brown or red mushroom material type.
      capFace - The face or faces to set to mushroom cap texture.
      另请参阅:
    • Mushroom

      public Mushroom(Material shroom, MushroomBlockTexture texture)
      Constructs a brown/red mushroom block with the specified textures.
      参数:
      shroom - A brown or red mushroom material type.
      texture - The textured mushroom faces.
      另请参阅:
    • Mushroom

      @Deprecated public Mushroom(Material shroom, byte data)
      已过时。
      Magic value
      参数:
      shroom - the type
      data - the raw data value
    • Mushroom

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