Class Sender

java.lang.Object
net.pl3x.map.core.command.Sender
All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.audience.ForwardingAudience, net.kyori.adventure.audience.ForwardingAudience.Single, net.kyori.adventure.pointer.Pointered

public abstract class Sender extends Object implements net.kyori.adventure.audience.ForwardingAudience.Single
Represents a command sender.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     

    Nested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudience

    net.kyori.adventure.audience.ForwardingAudience.Single
  • Constructor Summary

    Constructors
    Constructor
    Description
    Sender(T sender)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.audience.Audience
     
    abstract boolean
    equals(@Nullable Object o)
     
    <T> T
     
    abstract int
     
    void
    sendMessage(boolean prefix, @NotNull net.kyori.adventure.text.ComponentLike message)
     
    void
    sendMessage(@NotNull String message)
     
    void
    sendMessage(@NotNull String message, boolean prefix)
     
    void
    sendMessage(@NotNull String message, boolean prefix, @NotNull net.kyori.adventure.text.minimessage.tag.resolver.TagResolver.Single... placeholders)
     
    void
    sendMessage(@NotNull String message, @NotNull net.kyori.adventure.text.minimessage.tag.resolver.TagResolver.Single... placeholders)
     
    abstract @NotNull String
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

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

    deleteMessage, openBook, removeResourcePacks, removeResourcePacks, removeResourcePacks, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, showTitle, stopSound

    Methods inherited from interface net.kyori.adventure.audience.ForwardingAudience.Single

    audiences, clearResourcePacks, clearTitle, deleteMessage, filterAudience, forEachAudience, get, getOrDefault, getOrDefaultFrom, hideBossBar, openBook, playSound, playSound, playSound, pointers, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendTitlePart, showBossBar, stopSound
  • Constructor Details

    • Sender

      public Sender(@NotNull T sender)
  • Method Details

    • getSender

      @NotNull public <T> T getSender()
    • audience

      @NotNull public @NotNull net.kyori.adventure.audience.Audience audience()
      Specified by:
      audience in interface net.kyori.adventure.audience.ForwardingAudience.Single
    • sendMessage

      public void sendMessage(@NotNull @NotNull String message)
    • sendMessage

      public void sendMessage(@NotNull @NotNull String message, boolean prefix)
    • sendMessage

      public void sendMessage(@NotNull @NotNull String message, @NotNull @NotNull net.kyori.adventure.text.minimessage.tag.resolver.TagResolver.Single... placeholders)
    • sendMessage

      public void sendMessage(@NotNull @NotNull String message, boolean prefix, @NotNull @NotNull net.kyori.adventure.text.minimessage.tag.resolver.TagResolver.Single... placeholders)
    • sendMessage

      public void sendMessage(boolean prefix, @NotNull @NotNull net.kyori.adventure.text.ComponentLike message)
    • equals

      public abstract boolean equals(@Nullable @Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @NotNull public abstract @NotNull String toString()
      Overrides:
      toString in class Object