Entity.Spigotpublic static class CommandSender.Spigot extends Object
| Constructor | Description | 
|---|---|
| Spigot() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| 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 sendCopyright © 2020. All rights reserved.