Class NetherWarts

java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.NetherWarts
All Implemented Interfaces:
Cloneable

@Deprecated(forRemoval=true, since="1.13") public class NetherWarts extends MaterialData
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 nether wart
  • Constructor Details

    • NetherWarts

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

      public NetherWarts(NetherWartsState state)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NetherWarts

      public NetherWarts(Material type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NetherWarts

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

    • getState

      public NetherWartsState getState()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the current growth state of this nether wart
      Returns:
      NetherWartsState of this nether wart
    • setState

      public void setState(NetherWartsState state)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the growth state of this nether wart
      Parameters:
      state - New growth state of this nether wart
    • toString

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

      public NetherWarts clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class MaterialData