Interface SpectatorInventory<Slot>

All Superinterfaces:
Inventory, Iterable<ItemStack>
All Known Subinterfaces:
EnderInventory<NMS,Self>, EnderSpectatorInventory, MainInventory<NMS,Self>, MainSpectatorInventory, StandardSpectatorInventory<Slot,NMS,Self>

public interface SpectatorInventory<Slot> extends Inventory
Represents a spectator-inventory, i.e. the inventory that an admin player sees when editing a player's inventory or enderchest content.
  • 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

      Mirror<Slot> getMirror()
      get the default Mirror this inventory is viewed through
    • getCreationOptions

      CreationOptions<Slot> getCreationOptions()
      get the options this inventory was created with