Package org.bukkit.inventory
Interface DoubleChestInventory
public interface DoubleChestInventory extends Inventory
Interface to the inventory of a Double Chest.
-
Method Summary
Modifier and Type Method Description DoubleChest
getHolder()
Gets the block or entity belonging to the open inventoryInventory
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 Details
-
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
-