Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.inventory.DoubleChestInventory Interface Reference
Inheritance diagram for org.bukkit.inventory.DoubleChestInventory:

Public Member Functions

Inventory getLeftSide ()
Inventory getRightSide ()
DoubleChest getHolder ()
- Public Member Functions inherited from org.bukkit.inventory.Inventory
int getSize ()
int getMaxStackSize ()
void setMaxStackSize (int size)
String getName ()
ItemStack getItem (int index)
void setItem (int index, ItemStack item)
HashMap< Integer, ItemStackaddItem (ItemStack...items) throws IllegalArgumentException
HashMap< Integer, ItemStackremoveItem (ItemStack...items) throws IllegalArgumentException
ItemStack[] getContents ()
void setContents (ItemStack[] items) throws IllegalArgumentException
boolean contains (int materialId)
boolean contains (Material material) throws IllegalArgumentException
boolean contains (ItemStack item)
boolean contains (int materialId, int amount)
boolean contains (Material material, int amount) throws IllegalArgumentException
boolean contains (ItemStack item, int amount)
boolean containsAtLeast (ItemStack item, int amount)
HashMap< Integer,?extends ItemStackall (int materialId)
HashMap< Integer,?extends ItemStackall (Material material) throws IllegalArgumentException
HashMap< Integer,?extends ItemStackall (ItemStack item)
int first (int materialId)
int first (Material material) throws IllegalArgumentException
int first (ItemStack item)
int firstEmpty ()
void remove (int materialId)
void remove (Material material) throws IllegalArgumentException
void remove (ItemStack item)
void clear (int index)
void clear ()
List< HumanEntitygetViewers ()
String getTitle ()
InventoryType getType ()
ListIterator< ItemStackiterator ()
ListIterator< ItemStackiterator (int index)

Detailed Description

Interface to the inventory of a Double Chest.

Definition at line 8 of file DoubleChestInventory.java.

Member Function Documentation

DoubleChest org.bukkit.inventory.DoubleChestInventory.getHolder ( )

Gets the block or entity belonging to the open inventory

The holder of the inventory; null if it has no holder.

Implements org.bukkit.inventory.Inventory.

Inventory org.bukkit.inventory.DoubleChestInventory.getLeftSide ( )

Get the left half of this double chest.

The left side inventory
Inventory org.bukkit.inventory.DoubleChestInventory.getRightSide ( )

Get the right side of this double chest.

The right side inventory

The documentation for this interface was generated from the following file: