Package org.bukkit.inventory
Interface DoubleChestInventory
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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
-
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:Inventory
Gets the block or entity belonging to the open inventory
-
-