Interface StandardSpectatorInventory<Slot,NMS extends AbstractNmsInventory<Slot,Self,NMS>,Self extends StandardSpectatorInventory<Slot,NMS,Self>>
- All Superinterfaces:
Inventory
,Iterable<ItemStack>
,ShallowCopy<Self>
,SpectatorInventory<Slot>
,Wrapper<NMS,
Self>
- All Known Subinterfaces:
EnderInventory<NMS,
,Self> MainInventory<NMS,
Self>
public interface StandardSpectatorInventory<Slot,NMS extends AbstractNmsInventory<Slot,Self,NMS>,Self extends StandardSpectatorInventory<Slot,NMS,Self>>
extends SpectatorInventory<Slot>, Wrapper<NMS,Self>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreationOptions
<Slot> get the options this inventory was created withget the default Mirror this inventory is viewed throughdefault UUID
get the unique id of the spectated playerdefault String
get the username of the spectated playerdefault String
getTitle()
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
Methods inherited from interface com.janboerman.invsee.spigot.internal.inventory.Wrapper
defaultMaxStack, getInventory, shallowCopyFrom
-
Method Details
-
getSpectatedPlayerName
Description copied from interface:SpectatorInventory
get the username of the spectated player- Specified by:
getSpectatedPlayerName
in interfaceSpectatorInventory<Slot>
-
getSpectatedPlayerId
Description copied from interface:SpectatorInventory
get the unique id of the spectated player- Specified by:
getSpectatedPlayerId
in interfaceSpectatorInventory<Slot>
-
getTitle
Description copied from interface:SpectatorInventory
get the title of this inventory- Specified by:
getTitle
in interfaceSpectatorInventory<Slot>
-
getMirror
Description copied from interface:SpectatorInventory
get the default Mirror this inventory is viewed through- Specified by:
getMirror
in interfaceSpectatorInventory<Slot>
-
getCreationOptions
Description copied from interface:SpectatorInventory
get the options this inventory was created with- Specified by:
getCreationOptions
in interfaceSpectatorInventory<Slot>
-