Package com.janboerman.invsee.spigot.api
Interface EnderSpectatorInventory
- All Superinterfaces:
Inventory
,Iterable<ItemStack>
,SpectatorInventory<EnderChestSlot>
- All Known Subinterfaces:
EnderInventory<NMS,
Self>
The spectator inventory that contains all enderchest items
-
Method Summary
Modifier and TypeMethodDescriptiondefault Mirror
<EnderChestSlot> Get the mirror this inventory is viewed through.default ItemStack[]
default void
setContents
(EnderSpectatorInventory newContents) Set the contents of this inventory based on the contents from the provided inventory.default void
setStorageContents
(ItemStack[] newContents) Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getSize, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.janboerman.invsee.spigot.api.SpectatorInventory
getCreationOptions, getSpectatedPlayerId, getSpectatedPlayerName, getTitle
-
Method Details
-
getMirror
Get the mirror this inventory is viewed through.- Specified by:
getMirror
in interfaceSpectatorInventory<EnderChestSlot>
-
setContents
Set the contents of this inventory based on the contents from the provided inventory. -
setStorageContents
- Specified by:
setStorageContents
in interfaceInventory
-
getStorageContents
- Specified by:
getStorageContents
in interfaceInventory
-