Interface EnderInventory<NMS extends AbstractNmsInventory<EnderChestSlot,Self,NMS>,Self extends EnderInventory<NMS,Self>>
- All Superinterfaces:
EnderSpectatorInventory
,Inventory
,Iterable<ItemStack>
,ShallowCopy<Self>
,SpectatorInventory<EnderChestSlot>
,StandardSpectatorInventory<EnderChestSlot,
,NMS, Self> Wrapper<NMS,
Self>
public interface EnderInventory<NMS extends AbstractNmsInventory<EnderChestSlot,Self,NMS>,Self extends EnderInventory<NMS,Self>>
extends StandardSpectatorInventory<EnderChestSlot,NMS,Self>, EnderSpectatorInventory
-
Method Summary
Modifier and TypeMethodDescriptiondefault Mirror
<EnderChestSlot> get 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 inventorydefault void
setContents
(EnderSpectatorInventory newContents) Set the contents of this inventory based on the contents from the provided inventory.Methods inherited from interface com.janboerman.invsee.spigot.api.EnderSpectatorInventory
getStorageContents, setStorageContents
Methods 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, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.janboerman.invsee.spigot.internal.inventory.StandardSpectatorInventory
getCreationOptions
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<NMS extends AbstractNmsInventory<EnderChestSlot,
Self, NMS>> - Specified by:
getSpectatedPlayerName
in interfaceStandardSpectatorInventory<EnderChestSlot,
NMS extends AbstractNmsInventory<EnderChestSlot, Self, NMS>, Self extends EnderInventory<NMS, Self>>
-
getSpectatedPlayerId
Description copied from interface:SpectatorInventory
get the unique id of the spectated player- Specified by:
getSpectatedPlayerId
in interfaceSpectatorInventory<NMS extends AbstractNmsInventory<EnderChestSlot,
Self, NMS>> - Specified by:
getSpectatedPlayerId
in interfaceStandardSpectatorInventory<EnderChestSlot,
NMS extends AbstractNmsInventory<EnderChestSlot, Self, NMS>, Self extends EnderInventory<NMS, Self>>
-
getTitle
Description copied from interface:SpectatorInventory
get the title of this inventory- Specified by:
getTitle
in interfaceSpectatorInventory<NMS extends AbstractNmsInventory<EnderChestSlot,
Self, NMS>> - Specified by:
getTitle
in interfaceStandardSpectatorInventory<EnderChestSlot,
NMS extends AbstractNmsInventory<EnderChestSlot, Self, NMS>, Self extends EnderInventory<NMS, Self>>
-
getMirror
Description copied from interface:SpectatorInventory
get the default Mirror this inventory is viewed through- Specified by:
getMirror
in interfaceEnderSpectatorInventory
- Specified by:
getMirror
in interfaceSpectatorInventory<NMS extends AbstractNmsInventory<EnderChestSlot,
Self, NMS>> - Specified by:
getMirror
in interfaceStandardSpectatorInventory<EnderChestSlot,
NMS extends AbstractNmsInventory<EnderChestSlot, Self, NMS>, Self extends EnderInventory<NMS, Self>>
-
setContents
Description copied from interface:EnderSpectatorInventory
Set the contents of this inventory based on the contents from the provided inventory.- Specified by:
setContents
in interfaceEnderSpectatorInventory
-