Package net.glowstone.inventory
Class GlowChestInventory
java.lang.Object
net.glowstone.inventory.GlowInventory
net.glowstone.inventory.GlowChestInventory
- All Implemented Interfaces:
Iterable<org.bukkit.inventory.ItemStack>,org.bukkit.inventory.Inventory
A class which represents an chest inventory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddViewer(org.bukkit.entity.HumanEntity viewer) Add a viewer to the inventory.voidremoveViewer(org.bukkit.entity.HumanEntity viewer) Remove a viewer from the inventory.Methods inherited from class net.glowstone.inventory.GlowInventory
addItem, addItemStack, all, all, clear, clear, close, consumeItem, consumeItem, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getRawSlots, getSize, getSlot, getSlots, getSlotType, getStorageContents, getTitle, getType, getViewers, getViewersSet, handleShiftClick, initialize, isEmpty, itemPlaceAllowed, itemShiftClickAllowed, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, removeItemStack, setContents, setItem, setMaxStackSize, setStorageContents, setTitle, toString, tryToFillSlotsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GlowChestInventory
-
-
Method Details
-
addViewer
public void addViewer(org.bukkit.entity.HumanEntity viewer) Description copied from class:GlowInventoryAdd a viewer to the inventory.- Overrides:
addViewerin classGlowInventory- Parameters:
viewer- The HumanEntity to add.
-
removeViewer
public void removeViewer(org.bukkit.entity.HumanEntity viewer) Description copied from class:GlowInventoryRemove a viewer from the inventory.- Overrides:
removeViewerin classGlowInventory- Parameters:
viewer- The HumanEntity to remove.
-