Package org.bukkit.command
Class CommandSender.Spigot
java.lang.Object
org.bukkit.command.CommandSender.Spigot
- Direct Known Subclasses:
- Entity.Spigot
- Enclosing interface:
- CommandSender
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsendMessage(UUID sender, net.md_5.bungee.api.chat.BaseComponent component) Sends this sender a chat component.voidsendMessage(UUID sender, net.md_5.bungee.api.chat.BaseComponent... components) Sends an array of components as a single message to the sender.voidsendMessage(net.md_5.bungee.api.chat.BaseComponent component) Sends this sender a chat component.voidsendMessage(net.md_5.bungee.api.chat.BaseComponent... components) Sends an array of components as a single message to the sender.
- 
Constructor Details- 
Spigotpublic Spigot()
 
- 
- 
Method Details- 
sendMessagepublic void sendMessage(@NotNull net.md_5.bungee.api.chat.BaseComponent component) Sends this sender a chat component.- Parameters:
- component- the components to send
 
- 
sendMessagepublic void sendMessage(@NotNull net.md_5.bungee.api.chat.BaseComponent... components) Sends an array of components as a single message to the sender.- Parameters:
- components- the components to send
 
- 
sendMessagepublic void sendMessage(@Nullable UUID sender, @NotNull net.md_5.bungee.api.chat.BaseComponent component) Sends this sender a chat component.- Parameters:
- sender- the sender of the message
- component- the components to send
 
- 
sendMessagepublic void sendMessage(@Nullable UUID sender, @NotNull net.md_5.bungee.api.chat.BaseComponent... components) Sends an array of components as a single message to the sender.- Parameters:
- sender- the sender of the message
- components- the components to send
 
 
-