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)
          Deprecated. Magic value
Cauldron(int type, byte data)
          Deprecated. Magic value
 
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

@Deprecated
public Cauldron(int type,
                           byte data)
Deprecated. Magic value


Cauldron

@Deprecated
public Cauldron(byte data)
Deprecated. Magic value

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.