public interface CommandSource extends net.kyori.adventure.audience.Audience, PermissionSubject
Command.| Modifier and Type | Method and Description |
|---|---|
void |
sendMessage(net.kyori.text.Component component)
Deprecated.
Use
Audience.sendMessage(Identified, Component)
or Audience.sendMessage(Identity, Component) instead |
default void |
sendMessage(@NonNull net.kyori.adventure.identity.Identity identity,
@NonNull net.kyori.adventure.text.Component message,
@NonNull net.kyori.adventure.audience.MessageType type) |
audience, audience, clearTitle, empty, hideBossBar, openBook, openBook, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, showBossBar, showTitle, stopSound, toAudiencegetPermissionValue, hasPermission@Deprecated void sendMessage(net.kyori.text.Component component)
Audience.sendMessage(Identified, Component)
or Audience.sendMessage(Identity, Component) insteadcomponent to the invoker.component - the text component to senddefault void sendMessage(@NonNull net.kyori.adventure.identity.Identity identity,
@NonNull net.kyori.adventure.text.Component message,
@NonNull net.kyori.adventure.audience.MessageType type)
sendMessage in interface net.kyori.adventure.audience.Audience