org.bukkit.material
Class Cauldron

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.Cauldron
All Implemented Interfaces:
Cloneable

public class Cauldron
extends MaterialData

Represents a cauldron


Constructor Summary
Cauldron()
           
Cauldron(byte data)
           
Cauldron(int type, byte data)
           
 
Method Summary
 Cauldron clone()
           
 boolean isEmpty()
          Check if the cauldron is empty.
 boolean isFull()
          Check if the cauldron is full.
 String toString()
           
 
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cauldron

public Cauldron()

Cauldron

public Cauldron(int type,
                byte data)

Cauldron

public Cauldron(byte data)
Method Detail

isFull

public boolean isFull()
Check if the cauldron is full.

Returns:
True if it is full.

isEmpty

public boolean isEmpty()
Check if the cauldron is empty.

Returns:
True if it is empty.

toString

public String toString()
Overrides:
toString in class MaterialData

clone

public Cauldron clone()
Overrides:
clone in class MaterialData


Copyright © 2013. All Rights Reserved.