Package de.kentoj.scrowlib.player
Class NetworkPlayerImpl
java.lang.Object
de.kentoj.scrowlib.player.NetworkPlayerImpl
- All Implemented Interfaces:
NetworkPlayer,net.kyori.adventure.audience.Audience,net.kyori.adventure.pointer.Pointered
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidplaySound(@NotNull net.kyori.adventure.sound.Sound sound) voidplaySound(@NotNull net.kyori.adventure.sound.Sound sound, double x, double y, double z) voidsendActionBar(@NotNull net.kyori.adventure.text.Component message) voidsendMessage(@NotNull net.kyori.adventure.text.Component message) voidsendToInstance(String handle) voidstopSound(@NotNull net.kyori.adventure.sound.Sound sound) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, stopSoundMethods 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:
sendMessagein interfacenet.kyori.adventure.audience.Audience
-
sendActionBar
public void sendActionBar(@NotNull @NotNull net.kyori.adventure.text.Component message) - Specified by:
sendActionBarin interfacenet.kyori.adventure.audience.Audience
-
playSound
public void playSound(@NotNull @NotNull net.kyori.adventure.sound.Sound sound) - Specified by:
playSoundin interfacenet.kyori.adventure.audience.Audience
-
playSound
public void playSound(@NotNull @NotNull net.kyori.adventure.sound.Sound sound, double x, double y, double z) - Specified by:
playSoundin interfacenet.kyori.adventure.audience.Audience
-
stopSound
public void stopSound(@NotNull @NotNull net.kyori.adventure.sound.Sound sound) - Specified by:
stopSoundin interfacenet.kyori.adventure.audience.Audience
-
sendToInstance
- Specified by:
sendToInstancein interfaceNetworkPlayer
-