Package org.bukkit.inventory
Interface DoubleChestInventory
Interface to the inventory of a Double Chest.
-
Method Summary
Modifier and TypeMethodDescriptionGets the block or entity belonging to the open inventoryGet the left half of this double chest.Get the right side of this double chest.Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContents
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
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
-