Package com.janboerman.invsee.spigot.api
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 Summary
Modifier 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 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, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContents
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getSpectatedPlayerName
String getSpectatedPlayerName()get the username of the spectated player -
getSpectatedPlayerId
UUID getSpectatedPlayerId()get the unique id of the spectated player -
getTitle
String getTitle()get the title of this inventory -
getMirror
-
getCreationOptions
CreationOptions<Slot> getCreationOptions()get the options this inventory was created with
-