Package org.bukkit.inventory
Interface DoubleChestInventory
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getLeftSide
@NotNull Inventory getLeftSide()
Get the left half of this double chest.- Returns:
- The left side inventory
-
getRightSide
@NotNull Inventory getRightSide()
Get the right side of this double chest.- Returns:
- The right side inventory
-
getHolder
@Nullable DoubleChest getHolder()
Description copied from interface:InventoryGets the block or entity belonging to the open inventory
-
-