Package org.bukkit.command
Class CommandSender.Spigot
java.lang.Object
org.bukkit.command.CommandSender.Spigot
- Direct Known Subclasses:
Entity.Spigot
- Enclosing interface:
- CommandSender
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
Spigot
public Spigot()
-
-
Method Details
-
sendMessage
Sends this sender a chat component.- Parameters:
component
- the components to send
-
sendMessage
Sends an array of components as a single message to the sender.- Parameters:
components
- the components to send
-
sendMessage
Sends this sender a chat component.- Parameters:
component
- the components to sendsender
- the sender of the message
-
sendMessage
Sends an array of components as a single message to the sender.- Parameters:
components
- the components to sendsender
- the sender of the message
-