Class NetworkPlayerImpl

java.lang.Object
de.kentoj.scrowlib.player.NetworkPlayerImpl
All Implemented Interfaces:
NetworkPlayer, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered

public class NetworkPlayerImpl extends Object implements NetworkPlayer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    playSound(@NotNull net.kyori.adventure.sound.Sound sound)
     
    void
    playSound(@NotNull net.kyori.adventure.sound.Sound sound, double x, double y, double z)
     
    void
    sendActionBar(@NotNull net.kyori.adventure.text.Component message)
     
    void
    sendMessage(@NotNull net.kyori.adventure.text.Component message)
     
    void
     
    void
    stopSound(@NotNull net.kyori.adventure.sound.Sound sound)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

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

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

    get, getOrDefault, getOrDefaultFrom, pointers
  • Constructor Details

    • NetworkPlayerImpl

      public NetworkPlayerImpl()
  • Method Details

    • sendMessage

      public void sendMessage(@NotNull @NotNull net.kyori.adventure.text.Component message)
      Specified by:
      sendMessage in interface net.kyori.adventure.audience.Audience
    • sendActionBar

      public void sendActionBar(@NotNull @NotNull net.kyori.adventure.text.Component message)
      Specified by:
      sendActionBar in interface net.kyori.adventure.audience.Audience
    • playSound

      public void playSound(@NotNull @NotNull net.kyori.adventure.sound.Sound sound)
      Specified by:
      playSound in interface net.kyori.adventure.audience.Audience
    • playSound

      public void playSound(@NotNull @NotNull net.kyori.adventure.sound.Sound sound, double x, double y, double z)
      Specified by:
      playSound in interface net.kyori.adventure.audience.Audience
    • stopSound

      public void stopSound(@NotNull @NotNull net.kyori.adventure.sound.Sound sound)
      Specified by:
      stopSound in interface net.kyori.adventure.audience.Audience
    • sendToInstance

      public void sendToInstance(String handle)
      Specified by:
      sendToInstance in interface NetworkPlayer