Entity.Spigotpublic static class CommandSender.Spigot extends Object
| Constructor | Description |
|---|---|
Spigot() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
sendMessage(UUID sender,
BaseComponent component) |
Sends this sender a chat component.
|
void |
sendMessage(UUID sender,
BaseComponent... components) |
Sends an array of components as a single message to the sender.
|
void |
sendMessage(BaseComponent component) |
Sends this sender a chat component.
|
void |
sendMessage(BaseComponent... components) |
Sends an array of components as a single message to the sender.
|
public void sendMessage(@NotNull BaseComponent component)
component - the components to sendpublic void sendMessage(@NotNull BaseComponent... components)
components - the components to sendpublic void sendMessage(@Nullable UUID sender, @NotNull BaseComponent component)
component - the components to sendsender - the sender of the messagepublic void sendMessage(@Nullable UUID sender, @NotNull BaseComponent... components)
components - the components to sendsender - the sender of the messageCopyright © 2021. All rights reserved.