Interface NetworkPlayer

All Superinterfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered
All Known Implementing Classes:
NetworkPlayerImpl

public interface NetworkPlayer extends net.kyori.adventure.audience.Audience
All methods here are NON-blocking. NetworkPlayer represents a Player that MAY be online on any of the minecraft, wrapped in an Audience servers in the network.

If the player is not online, these methods DO NOTHING. Most methods here do nothing even if the Player is valid(as is the nature of Audiences)

this interface should be used mainly for basic communication(e.g. sending messages). For more complex operations, use the MessageBroker.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from interface net.kyori.adventure.audience.Audience

    clearResourcePacks, clearTitle, closeDialog, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, openBook, playSound, playSound, playSound, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, sendTitlePart, showBossBar, showDialog, showTitle, stopSound, stopSound

    Methods inherited from interface net.kyori.adventure.pointer.Pointered

    get, getOrDefault, getOrDefaultFrom, pointers
  • Method Details

    • sendToInstance

      void sendToInstance(String handle)