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 UUIDget the unique id of the spectated playerdefault Stringget the username of the spectated playerdefault StringgetTitle()get the title of this inventoryMethods 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, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContentsMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Wrapper
defaultMaxStack, getInventory, shallowCopyFrom
-
Method Details
-
getSpectatedPlayerName
Description copied from interface:SpectatorInventoryget the username of the spectated player- Specified by:
getSpectatedPlayerNamein interfaceSpectatorInventory<Slot>
-
getSpectatedPlayerId
Description copied from interface:SpectatorInventoryget the unique id of the spectated player- Specified by:
getSpectatedPlayerIdin interfaceSpectatorInventory<Slot>
-
getTitle
Description copied from interface:SpectatorInventoryget the title of this inventory- Specified by:
getTitlein interfaceSpectatorInventory<Slot>
-
getMirror
Description copied from interface:SpectatorInventoryget the default Mirror this inventory is viewed through- Specified by:
getMirrorin interfaceSpectatorInventory<Slot>
-
getCreationOptions
Description copied from interface:SpectatorInventoryget the options this inventory was created with- Specified by:
getCreationOptionsin interfaceSpectatorInventory<Slot>
-