Class Wood

All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Leaves, Sapling, Tree, WoodenStep

@Deprecated
public class Wood
extends MaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents wood blocks of different species.
See Also:
Material.LEGACY_WOOD, Material.LEGACY_SAPLING, Material.LEGACY_WOOD_DOUBLE_STEP
  • Field Details

  • Constructor Details

    • Wood

      public Wood()
      Deprecated.
      Constructs a wood block.
    • Wood

      public Wood​(TreeSpecies species)
      Deprecated.
      Constructs a wood block of the given tree species.
      Parameters:
      species - the species of the wood block
    • Wood

      public Wood​(Material type)
      Deprecated.
      Constructs a wood block of the given type.
      Parameters:
      type - the type of wood block
    • Wood

      public Wood​(Material type, TreeSpecies species)
      Deprecated.
      Constructs a wood block of the given type and tree species.
      Parameters:
      type - the type of wood block
      species - the species of the wood block
    • Wood

      @Deprecated public Wood​(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
  • Method Details