Interface SpectatorInventory<Slot>
- All Known Subinterfaces:
- EnderInventory<NMS,- Self>, EnderSpectatorInventory, MainInventory<NMS, - Self>, MainSpectatorInventory, StandardSpectatorInventory<Slot, - NMS, - Self> 
Represents a spectator-inventory, i.e. the inventory that an admin player sees when editing a player's inventory or enderchest content.
- 
Method SummaryModifier and TypeMethodDescriptionget the options this inventory was created withget the default Mirror this inventory is viewed throughget the unique id of the spectated playerget the username of the spectated playergetTitle()get the title of this inventoryMethods inherited from interface InventoryaddItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContentsMethods inherited from interface IterableforEach, spliterator
- 
Method Details- 
getSpectatedPlayerNameString getSpectatedPlayerName()get the username of the spectated player
- 
getSpectatedPlayerIdUUID getSpectatedPlayerId()get the unique id of the spectated player
- 
getTitleString getTitle()get the title of this inventory
- 
getMirror
- 
getCreationOptionsCreationOptions<Slot> getCreationOptions()get the options this inventory was created with
 
-