Class WoodenStep

All Implemented Interfaces:
Cloneable

@Deprecated(forRemoval=true, since="1.13") public class WoodenStep extends Wood
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents the different types of wooden steps.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final Material
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Fields inherited from class org.bukkit.material.Wood

    DEFAULT_SPECIES
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs a wooden step.
    WoodenStep(Material type, byte data)
    Deprecated.
    Magic value
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs a wooden step of the given tree species.
    WoodenStep(TreeSpecies species, boolean inv)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs a wooden step of the given type and tree species, either inverted or not.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test if step is inverted
    void
    setInverted(boolean inv)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set step inverted state
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class org.bukkit.material.Wood

    getSpecies, setSpecies

    Methods inherited from class org.bukkit.material.MaterialData

    equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEFAULT_TYPE

      protected static final Material DEFAULT_TYPE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DEFAULT_INVERTED

      protected static final boolean DEFAULT_INVERTED
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • WoodenStep

      public WoodenStep()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs a wooden step.
    • WoodenStep

      public WoodenStep(TreeSpecies species)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs a wooden step of the given tree species.
      Parameters:
      species - the species of the wooden step
    • WoodenStep

      public WoodenStep(TreeSpecies species, boolean inv)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs a wooden step of the given type and tree species, either inverted or not.
      Parameters:
      species - the species of the wooden step
      inv - true the step is at the top of the block
    • WoodenStep

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

    • isInverted

      public boolean isInverted()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test if step is inverted
      Returns:
      true if inverted (top half), false if normal (bottom half)
    • setInverted

      public void setInverted(boolean inv)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set step inverted state
      Parameters:
      inv - - true if step is inverted (top half), false if step is normal (bottom half)
    • clone

      public WoodenStep clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class Wood
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Wood