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 voidsetContents(EnderSpectatorInventory newContents) Set the contents of this inventory based on the contents from the provided inventory.default voidsetStorageContents(ItemStack[] newContents) Methods inherited from interface 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, setMaxStackSizeMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface SpectatorInventory
getCreationOptions, getSpectatedPlayerId, getSpectatedPlayerName, getTitle
-
Method Details
-
getMirror
Get the mirror this inventory is viewed through.- Specified by:
getMirrorin interfaceSpectatorInventory<EnderChestSlot>
-
setContents
Set the contents of this inventory based on the contents from the provided inventory. -
setStorageContents
- Specified by:
setStorageContentsin interfaceInventory
-
getStorageContents
- Specified by:
getStorageContentsin interfaceInventory
-