org.bukkit.inventory
Interface DoubleChestInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

public interface DoubleChestInventory
extends Inventory


Method Summary
 DoubleChest getHolder()
          Gets the block or entity belonging to the open inventory
 Inventory getLeftSide()
          Get the left half of this double chest.
 Inventory getRightSide()
          Get the right side of this double chest.
 
Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize
 

Method Detail

getLeftSide

Inventory getLeftSide()
Get the left half of this double chest.

Returns:
The left side inventory

getRightSide

Inventory getRightSide()
Get the right side of this double chest.

Returns:
The right side inventory

getHolder

DoubleChest getHolder()
Description copied from interface: Inventory
Gets the block or entity belonging to the open inventory

Specified by:
getHolder in interface Inventory
Returns:
The holder of the inventory; null if it has no holder.


Copyright © 2013. All Rights Reserved.