java.lang.Object
net.kyori.adventure.platform.fabric.impl.server.PlainAudience
All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered

public final class PlainAudience extends Object implements net.kyori.adventure.audience.Audience
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlainAudience(FabricAudiencesInternal controller, net.kyori.adventure.pointer.Pointered source, Consumer<String> plainOutput)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.pointer.Pointers
     
    void
    sendActionBar(@NotNull net.kyori.adventure.text.Component message)
     
    void
    sendMessage(@NotNull net.kyori.adventure.text.Component message)
     
    void
    sendMessage(@NotNull net.kyori.adventure.text.Component message, @NotNull net.kyori.adventure.chat.ChatType.Bound boundChatType)
     
    void
    sendMessage(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, wait

    Methods 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, stopSound

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

    get, getOrDefault, getOrDefaultFrom
  • Constructor Details

  • Method Details

    • sendMessage

      public void sendMessage(@NotNull @NotNull net.kyori.adventure.text.Component message)
      Specified by:
      sendMessage in interface net.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:
      sendMessage in interface net.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:
      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
    • pointers

      @NotNull public @NotNull net.kyori.adventure.pointer.Pointers pointers()
      Specified by:
      pointers in interface net.kyori.adventure.pointer.Pointered