Class InvseeAPI
java.lang.Object
com.janboerman.invsee.spigot.api.InvseeAPI
InvSee++'s api main entrypoint. Instance can be obtained via:
InvseePlusPlus plugin = (InvseePlusPlus) Bukkit.getPluginManager().getPlugin("InvSeePlusPlus");
InvseeAPI api = plugin.getApi();
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ExecutorDeprecated.protected Mirror<EnderChestSlot> protected final Exemptprotected final com.janboerman.invsee.spigot.api.InvseeAPI.InventoryListenerprotected Mirror<PlayerInventorySlot> protected final NamesAndUUIDsprotected final OpenSpectatorsCacheprotected final InvseePlatformprotected final com.janboerman.invsee.spigot.api.InvseeAPI.PlayerListenerprotected final Pluginfinal ExecutorDeprecated.usegetScheduler()instead -
Constructor Summary
ConstructorsConstructorDescriptionInvseeAPI(Plugin plugin, InvseePlatform platform, NamesAndUUIDs lookup, Scheduler scheduler, OpenSpectatorsCache openSpectatorsCache) Deprecated.internal api -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcache(EnderSpectatorInventory spectatorInventory) Deprecated.internal apiprotected voidcache(EnderSpectatorInventory spectatorInventory, boolean force) Deprecated.internal apiprotected voidcache(MainSpectatorInventory spectatorInventory) Deprecated.internal apiprotected voidcache(MainSpectatorInventory spectatorInventory, boolean force) Deprecated.internal apicreateOfflineEnderChest(UUID playerId, String playerName, String title) Deprecated.createOfflineEnderChest(UUID playerId, String playerName, String title, Mirror<EnderChestSlot> mirror) Deprecated.createOfflineInventory(UUID playerId, String playerName, String title) Deprecated.createOfflineInventory(UUID playerId, String playerName, String title, Mirror<PlayerInventorySlot> mirror) Deprecated.Get the configured CreationOptions forEnderSpectatorInventorys.enderInventoryCreationOptions(Player spectator) Get the configured CreationOptions forEnderSpectatorInventorys.enderSpectatorInventory(String targetName) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.enderSpectatorInventory(String targetName, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.enderSpectatorInventory(String targetName, String title) Deprecated.enderSpectatorInventory(String targetName, String title, boolean offlineSupport) Deprecated.enderSpectatorInventory(String targetName, String title, boolean offlineSupport, Mirror<EnderChestSlot> mirror) Deprecated.enderSpectatorInventory(UUID playerId, String playerName) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.enderSpectatorInventory(UUID playerId, String playerName, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.enderSpectatorInventory(UUID playerId, String playerName, String title) Deprecated.enderSpectatorInventory(UUID playerId, String playerName, String title, boolean offlineSupport) Deprecated.enderSpectatorInventory(UUID playerId, String playerName, String title, boolean offlineSupport, Mirror<EnderChestSlot> mirror) Deprecated.enderSpectatorInventory(HumanEntity target) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.enderSpectatorInventory(HumanEntity target, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.enderSpectatorInventory(HumanEntity target, String title) Deprecated.enderSpectatorInventory(HumanEntity target, String title, Mirror<EnderChestSlot> mirror) Deprecated.final CompletableFuture<Optional<UUID>> fetchUniqueId(String userName) Fetches the unique ID of the player with the provided username.final CompletableFuture<Optional<String>> fetchUserName(UUID uniqueId) Fetches the username of the player with the provided unique ID.getOpenEnderSpectatorInventory(UUID player) Deprecated.internal apigetOpenMainSpectatorInventory(UUID player) Deprecated.internal apiprotected InvseePlatformDeprecated.Get the known mappings from players' unique IDs to usernames.Get the known mappings from players' usernames to unique IDs.Get the configured CreationOptions forMainSpectatorInventorys.mainInventoryCreationOptions(Player spectator) Get the configured CreationOptions forMainSpectatorInventorys.mainSpectatorInventory(String targetName) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.mainSpectatorInventory(String targetName, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.mainSpectatorInventory(String targetName, String title) Deprecated.mainSpectatorInventory(String targetName, String title, boolean offlineSupport) Deprecated.mainSpectatorInventory(String targetName, String title, boolean offlineSupport, Mirror<PlayerInventorySlot> mirror) Deprecated.mainSpectatorInventory(UUID playerId, String playerName) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.mainSpectatorInventory(UUID playerId, String playerName, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.mainSpectatorInventory(UUID playerId, String playerName, String title) Deprecated.mainSpectatorInventory(UUID playerId, String playerName, String title, boolean offlineSupport) Deprecated.mainSpectatorInventory(UUID playerId, String playerName, String title, boolean offlineSupport, Mirror<PlayerInventorySlot> mirror) Deprecated.mainSpectatorInventory(HumanEntity target) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.mainSpectatorInventory(HumanEntity target, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.mainSpectatorInventory(HumanEntity target, String title) Deprecated.mainSpectatorInventory(HumanEntity target, String title, Mirror<PlayerInventorySlot> mirror) Deprecated.final NamesAndUUIDsDeprecated.Unstable apifinal booleanGet whether the CreationOptions returned bymainInventoryCreationOptions()andenderInventoryCreationOptions()will support spectating offline players.final voidopenEnderSpectatorInventory(Player spectator, EnderSpectatorInventory spectatorInventory, String title, Mirror<EnderChestSlot> mirror) final voidopenMainSpectatorInventory(Player spectator, MainSpectatorInventory spectatorInventory, String title, Mirror<PlayerInventorySlot> mirror) voidDeprecated.internal api, subject to changesaveEnderChest(EnderSpectatorInventory enderChest) Save the target player's ender chest contents to his/her player data file.saveInventory(MainSpectatorInventory inventory) Save the target player's inventory contents to his/her player data file.final voidDeprecated.internal apifinal voidsetEnderInventoryMirror(Mirror<EnderChestSlot> mirror) Set theMirrorto be used byenderInventoryCreationOptions().final voidsetEnderInventoryTitle(Title title) Set theTitleto be used byenderInventoryCreationOptions().final voidsetEnderInventoryTitleFactory(Function<Target, String> titleFactory) Deprecated.final voidsetLogOptions(LogOptions options) Set theLogOptionsto be used bymainInventoryCreationOptions()andenderInventoryCreationOptions().final voidSet theMirrorto be used bymainInventoryCreationOptions().final voidsetMainInventoryTitle(Title title) Set theTitleto be used bymainInventoryCreationOptions().final voidsetMainInventoryTitleFactory(Function<Target, String> titleFactory) Deprecated.final voidDeprecated.internal apifinal voidsetOfflinePlayerSupport(boolean offlinePlayerSupport) Set the offline player support status formainInventoryCreationOptions()andenderInventoryCreationOptions().final voidsetPlaceholderPalette(PlaceholderPalette palette) Set thePlaceholderPalettethat will be used for placeholders for absent items in non-container slots.final voidsetUnknownPlayerSupport(boolean unknownPlayerSupport) Set the unknown player support status formainInventoryCreationOptions()andenderInventoryCreationOptions().voidshutDown()Called when InvSee++ disables.final EnderSpectatorInventoryspectateEnderChest(HumanEntity player, String title) Deprecated.final EnderSpectatorInventoryspectateEnderChest(HumanEntity player, String title, Mirror<EnderChestSlot> mirror) Deprecated.spectateEnderChest(Player spectator, String targetName, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventoryfor a player.final CompletableFuture<Void> spectateEnderChest(Player spectator, String targetName, String title, boolean offlineSupport, Mirror<EnderChestSlot> mirror) Deprecated.spectateEnderChest(Player spectator, UUID targetId, String targetName, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventoryfor a player.final CompletableFuture<Void> spectateEnderChest(Player spectator, UUID targetId, String targetName, String title, boolean offlineSupport, Mirror<EnderChestSlot> mirror) Deprecated.spectateEnderChest(Player spectator, HumanEntity target, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventoryfor a player.final MainSpectatorInventoryspectateInventory(HumanEntity player, String title) Deprecated.final MainSpectatorInventoryspectateInventory(HumanEntity player, String title, Mirror<PlayerInventorySlot> mirror) Deprecated.spectateInventory(Player spectator, String targetName, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventoryfor a player.final CompletableFuture<Void> spectateInventory(Player spectator, String targetName, String title, boolean offlineSupport, Mirror<PlayerInventorySlot> mirror) Deprecated.spectateInventory(Player spectator, UUID targetId, String targetName, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventoryfor a player.final CompletableFuture<Void> spectateInventory(Player spectator, UUID targetId, String targetName, String title, boolean offlineSupport, Mirror<PlayerInventorySlot> mirror) Deprecated.spectateInventory(Player spectator, HumanEntity target, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventoryfor a player.final booleanGet whether the CreationOptions returned bymainInventoryCreationOptions()andenderInventoryCreationOptions()will support spectating unknown players.voidDeprecated.internal api, subject to change
-
Field Details
-
plugin
-
platform
-
lookup
-
openSpectatorsCache
-
exempt
-
inventoryMirror
-
enderchestMirror
-
serverThreadExecutor
Deprecated.usegetScheduler()instead -
asyncExecutor
Deprecated.usegetScheduler()instead -
playerListener
protected final com.janboerman.invsee.spigot.api.InvseeAPI.PlayerListener playerListener -
inventoryListener
protected final com.janboerman.invsee.spigot.api.InvseeAPI.InventoryListener inventoryListener
-
-
Constructor Details
-
InvseeAPI
public InvseeAPI(Plugin plugin, InvseePlatform platform, NamesAndUUIDs lookup, Scheduler scheduler, OpenSpectatorsCache openSpectatorsCache) Deprecated.internal api
-
-
Method Details
-
getScheduler
- API Note:
- unstable api
-
getPlatform
Deprecated. -
shutDown
public void shutDown()Called when InvSee++ disables. DO NOT CALL! -
getUuidCache
-
getUserNameCache
-
namesAndUuidsLookup
Deprecated.Unstable api -
registerListeners
public void registerListeners()Deprecated.internal api, subject to change -
unregisterListeners
public void unregisterListeners()Deprecated.internal api, subject to change -
setOfflinePlayerSupport
public final void setOfflinePlayerSupport(boolean offlinePlayerSupport) Set the offline player support status formainInventoryCreationOptions()andenderInventoryCreationOptions(). -
setUnknownPlayerSupport
public final void setUnknownPlayerSupport(boolean unknownPlayerSupport) Set the unknown player support status formainInventoryCreationOptions()andenderInventoryCreationOptions(). -
offlinePlayerSupport
public final boolean offlinePlayerSupport()Get whether the CreationOptions returned bymainInventoryCreationOptions()andenderInventoryCreationOptions()will support spectating offline players. -
unknownPlayerSupport
public final boolean unknownPlayerSupport()Get whether the CreationOptions returned bymainInventoryCreationOptions()andenderInventoryCreationOptions()will support spectating unknown players. -
setMainInventoryTitle
Set theTitleto be used bymainInventoryCreationOptions(). -
setEnderInventoryTitle
Set theTitleto be used byenderInventoryCreationOptions(). -
setMainInventoryMirror
Set theMirrorto be used bymainInventoryCreationOptions(). -
setEnderInventoryMirror
Set theMirrorto be used byenderInventoryCreationOptions(). -
setLogOptions
Set theLogOptionsto be used bymainInventoryCreationOptions()andenderInventoryCreationOptions(). -
setPlaceholderPalette
Set thePlaceholderPalettethat will be used for placeholders for absent items in non-container slots. -
mainInventoryCreationOptions
Get the configured CreationOptions forMainSpectatorInventorys.- Parameters:
spectator- the spectating player- Returns:
- the creation options
-
enderInventoryCreationOptions
Get the configured CreationOptions forEnderSpectatorInventorys.- Parameters:
spectator- the spectating player- Returns:
- the creation options
-
mainInventoryCreationOptions
Get the configured CreationOptions forMainSpectatorInventorys. These creation options will always bypass the target's exemption status.- Returns:
- the creation options
-
enderInventoryCreationOptions
Get the configured CreationOptions forEnderSpectatorInventorys. These creation options will always bypass the target's exemption status.- Returns:
- the creation options
-
setMainInventoryTransferPredicate
public final void setMainInventoryTransferPredicate(BiPredicate<MainSpectatorInventory, Player> bip) Deprecated.internal api -
setEnderChestTransferPredicate
Deprecated.internal api -
getOpenMainSpectatorInventory
Deprecated.internal apiGet a cachedMainSpectatorInventoryfor the target player. -
getOpenEnderSpectatorInventory
Deprecated.internal apiGet a cachedEnderSpectatorInventoryfor the target player. -
fetchUniqueId
Fetches the unique ID of the player with the provided username.- See Also:
-
fetchUserName
Fetches the username of the player with the provided unique ID.- See Also:
-
cache
Deprecated.internal api -
cache
Deprecated.internal api -
cache
Deprecated.internal api -
cache
Deprecated.internal api -
saveInventory
Save the target player's inventory contents to his/her player data file.- Parameters:
inventory- the inventory contents- Returns:
- a future which completes once the contents is saved
-
spectateInventory
public final OpenResponse<MainSpectatorInventoryView> spectateInventory(Player spectator, HumanEntity target, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventoryfor a player.- Parameters:
spectator- the spectating playertarget- the target playeroptions- the creation options- Returns:
- an
OpenResponsewhich, if successful, gives access to anMainSpectatorInventoryViewwhich represents the open window
-
mainSpectatorInventory
Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.- Parameters:
target- the target player- Returns:
- a
SpectateResponsewhich, if successful, will give access to theMainSpectatorInventory
-
mainSpectatorInventory
public final SpectateResponse<MainSpectatorInventory> mainSpectatorInventory(HumanEntity target, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.- Parameters:
target- the target playeroptions- the creation options- Returns:
- a
SpectateResponsewhich, if successful, will give access to theMainSpectatorInventory
-
spectateInventory
public final CompletableFuture<OpenResponse<MainSpectatorInventoryView>> spectateInventory(Player spectator, String targetName, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventoryfor a player.- Parameters:
spectator- the spectating playertargetName- the name of the target playeroptions- the creation options- Returns:
- a future which will complete with an
OpenResponsewhich, if successful, gives access to anMainSpectatorInventoryViewwhich represents the open window
-
mainSpectatorInventory
public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(String targetName) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.- Parameters:
targetName- the username of the target player- Returns:
- a future which will complete with a
SpectateResponsewhich, if successful, will give access to theMainSpectatorInventory
-
mainSpectatorInventory
public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(String targetName, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.- Parameters:
targetName- the username of the target playeroptions- the creation options- Returns:
- a future which will complete with a
SpectateResponsewhich, if successful, will give access to theMainSpectatorInventory
-
spectateInventory
public final CompletableFuture<OpenResponse<MainSpectatorInventoryView>> spectateInventory(Player spectator, UUID targetId, String targetName, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventoryfor a player.- Parameters:
spectator- the spectating playertargetId- the unique ID of the target playertargetName- the name of the target playeroptions- the creation options- Returns:
- a future which will complete with an
OpenResponsewhich, if successful, gives access to anMainSpectatorInventoryViewwhich represents the open window
-
mainSpectatorInventory
public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(UUID playerId, String playerName) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.- Parameters:
playerId- the unique ID of the target playerplayerName- the username of the target player- Returns:
- a future which will complete with a
SpectateResponsewhich, if successful, will give access to theMainSpectatorInventory
-
mainSpectatorInventory
public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(UUID playerId, String playerName, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventorywhich will provide access to the inventory contents of a target player.- Parameters:
playerId- the unique ID of the target playerplayerName- the username of the target playeroptions- the creation options- Returns:
- a future which will complete with a
SpectateResponsewhich, if successful, will give access to theMainSpectatorInventory
-
saveEnderChest
Save the target player's ender chest contents to his/her player data file.- Parameters:
enderChest- the ender chest contents- Returns:
- a future which completes once the contents is saved
-
spectateEnderChest
public final OpenResponse<EnderSpectatorInventoryView> spectateEnderChest(Player spectator, HumanEntity target, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventoryfor a player.- Parameters:
spectator- the spectating playertarget- the target playeroptions- the creation options- Returns:
- an
OpenResponsewhich, if successful, gives access to anEnderSpectatorInventoryViewwhich represents the open window
-
enderSpectatorInventory
Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.- Parameters:
target- the target player- Returns:
- a
SpectateResponsewhich, if successful, will give access to theEnderSpectatorInventory
-
enderSpectatorInventory
public final SpectateResponse<EnderSpectatorInventory> enderSpectatorInventory(HumanEntity target, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.- Parameters:
target- the target playeroptions- the creation options- Returns:
- a
SpectateResponsewhich, if successful, will give access to theEnderSpectatorInventory
-
spectateEnderChest
public final CompletableFuture<OpenResponse<EnderSpectatorInventoryView>> spectateEnderChest(Player spectator, String targetName, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventoryfor a player.- Parameters:
spectator- the spectating playertargetName- the name of the target playeroptions- the creation options- Returns:
- a future which will complete with an
OpenResponsewhich, if successful, gives access to anEnderSpectatorInventoryViewwhich represents the open window
-
enderSpectatorInventory
public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(String targetName) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.- Parameters:
targetName- the username of the target player- Returns:
- a future which will complete with a
SpectateResponsewhich, if successful, will give access to theEnderSpectatorInventory
-
enderSpectatorInventory
public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(String targetName, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.- Parameters:
targetName- the username of the target playeroptions- the creation options- Returns:
- a future which will complete with a
SpectateResponsewhich, if successful, will give access to theEnderSpectatorInventory
-
spectateEnderChest
public final CompletableFuture<OpenResponse<EnderSpectatorInventoryView>> spectateEnderChest(Player spectator, UUID targetId, String targetName, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventoryfor a player.- Parameters:
spectator- the spectating playertargetId- the unique ID of the target playertargetName- the name of the target playeroptions- the creation options- Returns:
- a future which will complete with an
OpenResponsewhich, if successful, gives access to anEnderSpectatorInventoryViewwhich represents the open window
-
enderSpectatorInventory
public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(UUID playerId, String playerName) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.- Parameters:
playerId- the unique ID of the target playerplayerName- the username of the target player- Returns:
- a future which will complete with a
SpectateResponsewhich, if successful, will give access to theEnderSpectatorInventory
-
enderSpectatorInventory
public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(UUID playerId, String playerName, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventorywhich will provide access to the ender chest contents of a target player.- Parameters:
playerId- the unique ID of the target playerplayerName- the username of the target playeroptions- the creation options- Returns:
- a future which will complete with a
SpectateResponsewhich, if successful, will give access to theEnderSpectatorInventory
-
setMainInventoryTitleFactory
Deprecated. -
setEnderInventoryTitleFactory
Deprecated. -
spectateInventory
@Deprecated public final CompletableFuture<Void> spectateInventory(Player spectator, String targetName, String title, boolean offlineSupport, Mirror<PlayerInventorySlot> mirror) Deprecated. -
spectateInventory
@Deprecated public final CompletableFuture<Void> spectateInventory(Player spectator, UUID targetId, String targetName, String title, boolean offlineSupport, Mirror<PlayerInventorySlot> mirror) Deprecated. -
spectateEnderChest
@Deprecated public final CompletableFuture<Void> spectateEnderChest(Player spectator, String targetName, String title, boolean offlineSupport, Mirror<EnderChestSlot> mirror) Deprecated. -
spectateEnderChest
@Deprecated public final CompletableFuture<Void> spectateEnderChest(Player spectator, UUID targetId, String targetName, String title, boolean offlineSupport, Mirror<EnderChestSlot> mirror) Deprecated. -
mainSpectatorInventory
@Deprecated public final SpectateResponse<MainSpectatorInventory> mainSpectatorInventory(HumanEntity target, String title) Deprecated. -
mainSpectatorInventory
@Deprecated public final SpectateResponse<MainSpectatorInventory> mainSpectatorInventory(HumanEntity target, String title, Mirror<PlayerInventorySlot> mirror) Deprecated. -
mainSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(String targetName, String title) Deprecated. -
mainSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(String targetName, String title, boolean offlineSupport) Deprecated. -
mainSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(String targetName, String title, boolean offlineSupport, Mirror<PlayerInventorySlot> mirror) Deprecated. -
mainSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(UUID playerId, String playerName, String title) Deprecated. -
mainSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(UUID playerId, String playerName, String title, boolean offlineSupport) Deprecated. -
mainSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(UUID playerId, String playerName, String title, boolean offlineSupport, Mirror<PlayerInventorySlot> mirror) Deprecated. -
enderSpectatorInventory
@Deprecated public final SpectateResponse<EnderSpectatorInventory> enderSpectatorInventory(HumanEntity target, String title) Deprecated. -
enderSpectatorInventory
@Deprecated public final SpectateResponse<EnderSpectatorInventory> enderSpectatorInventory(HumanEntity target, String title, Mirror<EnderChestSlot> mirror) Deprecated. -
enderSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(String targetName, String title) Deprecated. -
enderSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(String targetName, String title, boolean offlineSupport) Deprecated. -
enderSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(String targetName, String title, boolean offlineSupport, Mirror<EnderChestSlot> mirror) Deprecated. -
enderSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(UUID playerId, String playerName, String title) Deprecated. -
enderSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(UUID playerId, String playerName, String title, boolean offlineSupport) Deprecated. -
enderSpectatorInventory
@Deprecated public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(UUID playerId, String playerName, String title, boolean offlineSupport, Mirror<EnderChestSlot> mirror) Deprecated. -
openMainSpectatorInventory
@Deprecated public final void openMainSpectatorInventory(Player spectator, MainSpectatorInventory spectatorInventory, String title, Mirror<PlayerInventorySlot> mirror) -
openEnderSpectatorInventory
@Deprecated public final void openEnderSpectatorInventory(Player spectator, EnderSpectatorInventory spectatorInventory, String title, Mirror<EnderChestSlot> mirror) -
createOfflineEnderChest
@Deprecated public final CompletableFuture<Optional<EnderSpectatorInventory>> createOfflineEnderChest(UUID playerId, String playerName, String title, Mirror<EnderChestSlot> mirror) Deprecated. -
createOfflineEnderChest
@Deprecated public final CompletableFuture<Optional<EnderSpectatorInventory>> createOfflineEnderChest(UUID playerId, String playerName, String title) Deprecated. -
spectateEnderChest
@Deprecated public final EnderSpectatorInventory spectateEnderChest(HumanEntity player, String title, Mirror<EnderChestSlot> mirror) Deprecated. -
spectateEnderChest
@Deprecated public final EnderSpectatorInventory spectateEnderChest(HumanEntity player, String title) Deprecated. -
createOfflineInventory
@Deprecated public final CompletableFuture<Optional<MainSpectatorInventory>> createOfflineInventory(UUID playerId, String playerName, String title, Mirror<PlayerInventorySlot> mirror) Deprecated. -
createOfflineInventory
@Deprecated public final CompletableFuture<Optional<MainSpectatorInventory>> createOfflineInventory(UUID playerId, String playerName, String title) Deprecated. -
spectateInventory
@Deprecated public final MainSpectatorInventory spectateInventory(HumanEntity player, String title, Mirror<PlayerInventorySlot> mirror) Deprecated. -
spectateInventory
Deprecated.
-
getScheduler()instead