Class Cauldron

All Implemented Interfaces:
Cloneable

@Deprecated(forRemoval=true, since="1.13") public class Cauldron 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 a cauldron
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Cauldron(byte data)
    Deprecated.
    Magic value
    Cauldron(Material type, byte data)
    Deprecated.
    Magic value
  • 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.
    Check if the cauldron is empty.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Check if the cauldron is full.
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    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
  • Constructor Details

    • Cauldron

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

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

      @Deprecated public Cauldron(byte data)
      Deprecated.
      Magic value
      Parameters:
      data - the raw data value
  • Method Details

    • isFull

      public boolean isFull()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Check if the cauldron is full.
      Returns:
      True if it is full.
    • isEmpty

      public boolean isEmpty()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Check if the cauldron is empty.
      Returns:
      True if it is empty.
    • 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 Cauldron clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class MaterialData