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, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
-
Method Details
-
getLeftSide
Get the left half of this double chest.- Returns:
- The left side inventory
-
getRightSide
Get the right side of this double chest.- Returns:
- The right side inventory
-
getHolder
Description copied from interface:Inventory
Gets the block or entity belonging to the open inventory
-