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 DoubleChestgetHolder()Gets the block or entity belonging to the open inventoryInventorygetLeftSide()Get the left half of this double chest.InventorygetRightSide()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:InventoryGets the block or entity belonging to the open inventory
-