Class PlainAudience
java.lang.Object
net.kyori.adventure.platform.fabric.impl.server.PlainAudience
- All Implemented Interfaces:
net.kyori.adventure.audience.Audience,net.kyori.adventure.pointer.Pointered
-
Constructor Summary
ConstructorsConstructorDescriptionPlainAudience(FabricAudiencesInternal controller, net.kyori.adventure.pointer.Pointered source, Consumer<String> plainOutput) -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.pointer.Pointerspointers()voidsendActionBar(@NotNull net.kyori.adventure.text.Component message) voidsendMessage(@NotNull net.kyori.adventure.text.Component message) voidsendMessage(@NotNull net.kyori.adventure.text.Component message, @NotNull net.kyori.adventure.chat.ChatType.Bound boundChatType) voidsendMessage(net.kyori.adventure.identity.Identity source, net.kyori.adventure.text.Component text, net.kyori.adventure.audience.MessageType type) Deprecated.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
clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSoundMethods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom
-
Constructor Details
-
PlainAudience
public PlainAudience(FabricAudiencesInternal controller, net.kyori.adventure.pointer.Pointered source, Consumer<String> plainOutput)
-
-
Method Details
-
sendMessage
public void sendMessage(@NotNull @NotNull net.kyori.adventure.text.Component message) - Specified by:
sendMessagein interfacenet.kyori.adventure.audience.Audience
-
sendMessage
public void sendMessage(@NotNull @NotNull net.kyori.adventure.text.Component message, @NotNull net.kyori.adventure.chat.ChatType.Bound boundChatType) - Specified by:
sendMessagein interfacenet.kyori.adventure.audience.Audience
-
sendMessage
@Deprecated public void sendMessage(net.kyori.adventure.identity.Identity source, net.kyori.adventure.text.Component text, net.kyori.adventure.audience.MessageType type) Deprecated.- 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
-
pointers
@NotNull public @NotNull net.kyori.adventure.pointer.Pointers pointers()- Specified by:
pointersin interfacenet.kyori.adventure.pointer.Pointered
-