Package com.janboerman.invsee.spigot.api
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
Modifier and TypeFieldDescriptionfinal Executor
Deprecated.protected Mirror
<EnderChestSlot> protected final Exempt
protected final com.janboerman.invsee.spigot.api.InvseeAPI.InventoryListener
protected Mirror
<PlayerInventorySlot> protected final NamesAndUUIDs
protected final OpenSpectatorsCache
protected final InvseePlatform
protected final com.janboerman.invsee.spigot.api.InvseeAPI.PlayerListener
protected final Plugin
final Executor
Deprecated.usegetScheduler()
instead -
Constructor Summary
ConstructorDescriptionInvseeAPI
(Plugin plugin, InvseePlatform platform, NamesAndUUIDs lookup, Scheduler scheduler, OpenSpectatorsCache openSpectatorsCache) Deprecated.internal api -
Method Summary
Modifier and TypeMethodDescriptionprotected void
cache
(EnderSpectatorInventory spectatorInventory) Deprecated.internal apiprotected void
cache
(EnderSpectatorInventory spectatorInventory, boolean force) Deprecated.internal apiprotected void
cache
(MainSpectatorInventory spectatorInventory) Deprecated.internal apiprotected void
cache
(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 forEnderSpectatorInventory
s.enderInventoryCreationOptions
(Player spectator) Get the configured CreationOptions forEnderSpectatorInventory
s.enderSpectatorInventory
(String targetName) Create anEnderSpectatorInventory
which will provide access to the ender chest contents of a target player.enderSpectatorInventory
(String targetName, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventory
which 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 anEnderSpectatorInventory
which will provide access to the ender chest contents of a target player.enderSpectatorInventory
(UUID playerId, String playerName, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventory
which 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 anEnderSpectatorInventory
which will provide access to the ender chest contents of a target player.enderSpectatorInventory
(HumanEntity target, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventory
which 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 InvseePlatform
Deprecated.Get the known mappings from players' unique IDs to usernames.Get the known mappings from players' usernames to unique IDs.Get the configured CreationOptions forMainSpectatorInventory
s.mainInventoryCreationOptions
(Player spectator) Get the configured CreationOptions forMainSpectatorInventory
s.mainSpectatorInventory
(String targetName) Create aMainSpectatorInventory
which will provide access to the inventory contents of a target player.mainSpectatorInventory
(String targetName, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventory
which 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 aMainSpectatorInventory
which will provide access to the inventory contents of a target player.mainSpectatorInventory
(UUID playerId, String playerName, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventory
which 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 aMainSpectatorInventory
which will provide access to the inventory contents of a target player.mainSpectatorInventory
(HumanEntity target, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventory
which 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 NamesAndUUIDs
Deprecated.Unstable apifinal boolean
Get whether the CreationOptions returned bymainInventoryCreationOptions()
andenderInventoryCreationOptions()
will support spectating offline players.final void
openEnderSpectatorInventory
(Player spectator, EnderSpectatorInventory spectatorInventory, String title, Mirror<EnderChestSlot> mirror) final void
openMainSpectatorInventory
(Player spectator, MainSpectatorInventory spectatorInventory, String title, Mirror<PlayerInventorySlot> mirror) void
Deprecated.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 void
Deprecated.internal apifinal void
setEnderInventoryMirror
(Mirror<EnderChestSlot> mirror) Set theMirror
to be used byenderInventoryCreationOptions()
.final void
setEnderInventoryTitle
(Title title) Set theTitle
to be used byenderInventoryCreationOptions()
.final void
setEnderInventoryTitleFactory
(Function<Target, String> titleFactory) Deprecated.final void
setLogOptions
(LogOptions options) Set theLogOptions
to be used bymainInventoryCreationOptions()
andenderInventoryCreationOptions()
.final void
Set theMirror
to be used bymainInventoryCreationOptions()
.final void
setMainInventoryTitle
(Title title) Set theTitle
to be used bymainInventoryCreationOptions()
.final void
setMainInventoryTitleFactory
(Function<Target, String> titleFactory) Deprecated.final void
Deprecated.internal apifinal void
setOfflinePlayerSupport
(boolean offlinePlayerSupport) Set the offline player support status formainInventoryCreationOptions()
andenderInventoryCreationOptions()
.final void
setPlaceholderPalette
(PlaceholderPalette palette) Set thePlaceholderPalette
that will be used for placeholders for absent items in non-container slots.final void
setUnknownPlayerSupport
(boolean unknownPlayerSupport) Set the unknown player support status formainInventoryCreationOptions()
andenderInventoryCreationOptions()
.void
shutDown()
Called when InvSee++ disables.final EnderSpectatorInventory
spectateEnderChest
(HumanEntity player, String title) Deprecated.final EnderSpectatorInventory
spectateEnderChest
(HumanEntity player, String title, Mirror<EnderChestSlot> mirror) Deprecated.spectateEnderChest
(Player spectator, String targetName, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventory
for 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 anEnderSpectatorInventory
for 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 anEnderSpectatorInventory
for a player.final MainSpectatorInventory
spectateInventory
(HumanEntity player, String title) Deprecated.final MainSpectatorInventory
spectateInventory
(HumanEntity player, String title, Mirror<PlayerInventorySlot> mirror) Deprecated.spectateInventory
(Player spectator, String targetName, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventory
for 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 aMainSpectatorInventory
for 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 aMainSpectatorInventory
for a player.final boolean
Get whether the CreationOptions returned bymainInventoryCreationOptions()
andenderInventoryCreationOptions()
will support spectating unknown players.void
Deprecated.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 theTitle
to be used bymainInventoryCreationOptions()
. -
setEnderInventoryTitle
Set theTitle
to be used byenderInventoryCreationOptions()
. -
setMainInventoryMirror
Set theMirror
to be used bymainInventoryCreationOptions()
. -
setEnderInventoryMirror
Set theMirror
to be used byenderInventoryCreationOptions()
. -
setLogOptions
Set theLogOptions
to be used bymainInventoryCreationOptions()
andenderInventoryCreationOptions()
. -
setPlaceholderPalette
Set thePlaceholderPalette
that will be used for placeholders for absent items in non-container slots. -
mainInventoryCreationOptions
Get the configured CreationOptions forMainSpectatorInventory
s.- Parameters:
spectator
- the spectating player- Returns:
- the creation options
-
enderInventoryCreationOptions
Get the configured CreationOptions forEnderSpectatorInventory
s.- Parameters:
spectator
- the spectating player- Returns:
- the creation options
-
mainInventoryCreationOptions
Get the configured CreationOptions forMainSpectatorInventory
s. These creation options will always bypass the target's exemption status.- Returns:
- the creation options
-
enderInventoryCreationOptions
Get the configured CreationOptions forEnderSpectatorInventory
s. These creation options will always bypass the target's exemption status.- Returns:
- the creation options
-
setMainInventoryTransferPredicate
Deprecated.internal api -
setEnderChestTransferPredicate
Deprecated.internal api -
getOpenMainSpectatorInventory
Deprecated.internal apiGet a cachedMainSpectatorInventory
for the target player. -
getOpenEnderSpectatorInventory
Deprecated.internal apiGet a cachedEnderSpectatorInventory
for 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 aMainSpectatorInventory
for a player.- Parameters:
spectator
- the spectating playertarget
- the target playeroptions
- the creation options- Returns:
- an
OpenResponse
which, if successful, gives access to anMainSpectatorInventoryView
which represents the open window
-
mainSpectatorInventory
Create aMainSpectatorInventory
which will provide access to the inventory contents of a target player.- Parameters:
target
- the target player- Returns:
- a
SpectateResponse
which, if successful, will give access to theMainSpectatorInventory
-
mainSpectatorInventory
public final SpectateResponse<MainSpectatorInventory> mainSpectatorInventory(HumanEntity target, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventory
which will provide access to the inventory contents of a target player.- Parameters:
target
- the target playeroptions
- the creation options- Returns:
- a
SpectateResponse
which, if successful, will give access to theMainSpectatorInventory
-
spectateInventory
public final CompletableFuture<OpenResponse<MainSpectatorInventoryView>> spectateInventory(Player spectator, String targetName, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventory
for a player.- Parameters:
spectator
- the spectating playertargetName
- the name of the target playeroptions
- the creation options- Returns:
- a future which will complete with an
OpenResponse
which, if successful, gives access to anMainSpectatorInventoryView
which represents the open window
-
mainSpectatorInventory
public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(String targetName) Create aMainSpectatorInventory
which 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
SpectateResponse
which, if successful, will give access to theMainSpectatorInventory
-
mainSpectatorInventory
public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(String targetName, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventory
which 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
SpectateResponse
which, if successful, will give access to theMainSpectatorInventory
-
spectateInventory
public final CompletableFuture<OpenResponse<MainSpectatorInventoryView>> spectateInventory(Player spectator, UUID targetId, String targetName, CreationOptions<PlayerInventorySlot> options) Opens aMainSpectatorInventory
for 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
OpenResponse
which, if successful, gives access to anMainSpectatorInventoryView
which represents the open window
-
mainSpectatorInventory
public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(UUID playerId, String playerName) Create aMainSpectatorInventory
which 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
SpectateResponse
which, if successful, will give access to theMainSpectatorInventory
-
mainSpectatorInventory
public final CompletableFuture<SpectateResponse<MainSpectatorInventory>> mainSpectatorInventory(UUID playerId, String playerName, CreationOptions<PlayerInventorySlot> options) Create aMainSpectatorInventory
which 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
SpectateResponse
which, 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 anEnderSpectatorInventory
for a player.- Parameters:
spectator
- the spectating playertarget
- the target playeroptions
- the creation options- Returns:
- an
OpenResponse
which, if successful, gives access to anEnderSpectatorInventoryView
which represents the open window
-
enderSpectatorInventory
Create anEnderSpectatorInventory
which will provide access to the ender chest contents of a target player.- Parameters:
target
- the target player- Returns:
- a
SpectateResponse
which, if successful, will give access to theEnderSpectatorInventory
-
enderSpectatorInventory
public final SpectateResponse<EnderSpectatorInventory> enderSpectatorInventory(HumanEntity target, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventory
which will provide access to the ender chest contents of a target player.- Parameters:
target
- the target playeroptions
- the creation options- Returns:
- a
SpectateResponse
which, if successful, will give access to theEnderSpectatorInventory
-
spectateEnderChest
public final CompletableFuture<OpenResponse<EnderSpectatorInventoryView>> spectateEnderChest(Player spectator, String targetName, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventory
for a player.- Parameters:
spectator
- the spectating playertargetName
- the name of the target playeroptions
- the creation options- Returns:
- a future which will complete with an
OpenResponse
which, if successful, gives access to anEnderSpectatorInventoryView
which represents the open window
-
enderSpectatorInventory
public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(String targetName) Create anEnderSpectatorInventory
which 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
SpectateResponse
which, if successful, will give access to theEnderSpectatorInventory
-
enderSpectatorInventory
public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(String targetName, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventory
which 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
SpectateResponse
which, if successful, will give access to theEnderSpectatorInventory
-
spectateEnderChest
public final CompletableFuture<OpenResponse<EnderSpectatorInventoryView>> spectateEnderChest(Player spectator, UUID targetId, String targetName, CreationOptions<EnderChestSlot> options) Opens anEnderSpectatorInventory
for 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
OpenResponse
which, if successful, gives access to anEnderSpectatorInventoryView
which represents the open window
-
enderSpectatorInventory
public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(UUID playerId, String playerName) Create anEnderSpectatorInventory
which 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
SpectateResponse
which, if successful, will give access to theEnderSpectatorInventory
-
enderSpectatorInventory
public final CompletableFuture<SpectateResponse<EnderSpectatorInventory>> enderSpectatorInventory(UUID playerId, String playerName, CreationOptions<EnderChestSlot> options) Create anEnderSpectatorInventory
which 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
SpectateResponse
which, 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