Package org.bukkit.material
Class Cauldron
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.Cauldron
-
- All Implemented Interfaces:
Cloneable
@Deprecated public class Cauldron extends MaterialData
Deprecated.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.Represents a cauldron
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Cauldron
clone()
Deprecated.boolean
isEmpty()
Deprecated.Check if the cauldron is empty.boolean
isFull()
Deprecated.Check if the cauldron is full.String
toString()
Deprecated.-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
Cauldron
public Cauldron()
Deprecated.
-
Cauldron
@Deprecated public Cauldron(Material type, byte data)
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
Cauldron
@Deprecated public Cauldron(byte data)
Deprecated.Magic value- Parameters:
data
- the raw data value
-
-
Method Detail
-
isFull
public boolean isFull()
Deprecated.Check if the cauldron is full.- Returns:
- True if it is full.
-
isEmpty
public boolean isEmpty()
Deprecated.Check if the cauldron is empty.- Returns:
- True if it is empty.
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
public Cauldron clone()
Deprecated.- Overrides:
clone
in classMaterialData
-
-