Package kr.toxicity.command
Interface MessageSender
public interface MessageSender
A sender of command message
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voidsend(@NotNull BetterCommandSource source) Sends message to sourcedefault voidsend(@NotNull BetterCommandSource source, @NotNull Map<String, net.kyori.adventure.text.Component> value) Sends message to sourcevoidsend(@NotNull MessageSender.SendLevel level, @NotNull BetterCommandSource source, @NotNull Map<String, net.kyori.adventure.text.Component> value) Sends message to source
-
Method Details
-
send
void send(@NotNull @NotNull MessageSender.SendLevel level, @NotNull @NotNull BetterCommandSource source, @NotNull @NotNull Map<String, net.kyori.adventure.text.Component> value) Sends message to source- Parameters:
level- logger levelsource- target sourcevalue- parameters
-
send
default void send(@NotNull @NotNull BetterCommandSource source, @NotNull @NotNull Map<String, net.kyori.adventure.text.Component> value) Sends message to source- Parameters:
source- target sourcevalue- parameters
-
send
Sends message to source- Parameters:
source- target source
-