Package org.bukkit.command
Class CommandSender.Spigot
java.lang.Object
org.bukkit.command.CommandSender.Spigot
- Direct Known Subclasses:
Entity.Spigot
- Enclosing interface:
- CommandSender
public static class CommandSender.Spigot extends Object
-
Constructor Summary
Constructors Constructor Description Spigot()
-
Method Summary
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.
-
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
-