类 Wood

所有已实现的接口:
Cloneable
直接已知子类:
Leaves, Sapling, Tree, WoodenStep

@Deprecated public class Wood extends MaterialData
已过时。
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents wood blocks of different species.
另请参阅:
  • 字段详细资料

    • DEFAULT_TYPE

      protected static final Material DEFAULT_TYPE
      已过时。
    • DEFAULT_SPECIES

      protected static final TreeSpecies DEFAULT_SPECIES
      已过时。
  • 构造器详细资料

    • Wood

      public Wood()
      已过时。
      Constructs a wood block.
    • Wood

      public Wood(TreeSpecies species)
      已过时。
      Constructs a wood block of the given tree species.
      参数:
      species - the species of the wood block
    • Wood

      public Wood(Material type)
      已过时。
      Constructs a wood block of the given type.
      参数:
      type - the type of wood block
    • Wood

      public Wood(Material type, TreeSpecies species)
      已过时。
      Constructs a wood block of the given type and tree species.
      参数:
      type - the type of wood block
      species - the species of the wood block
    • Wood

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

    • getSpecies

      public TreeSpecies getSpecies()
      已过时。
      Gets the current species of this wood block
      返回:
      TreeSpecies of this wood block
    • setSpecies

      public void setSpecies(TreeSpecies species)
      已过时。
      Sets the species of this wood block
      参数:
      species - New species of this wood block
    • toString

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

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