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
(@NotNull net.md_5.bungee.api.chat.BaseComponent... components) Deprecated.void
sendMessage
(@Nullable UUID sender, @NotNull net.md_5.bungee.api.chat.BaseComponent... components) Deprecated.usesendMessage
methods that acceptComponent
void
sendMessage
(@Nullable UUID sender, net.md_5.bungee.api.chat.BaseComponent component) Deprecated.usesendMessage
methods that acceptComponent
void
sendMessage
(net.md_5.bungee.api.chat.BaseComponent component) Deprecated.usesendMessage
methods that acceptComponent
-
Constructor Details
-
Spigot
public Spigot()
-
-
Method Details
-
sendMessage
Deprecated.usesendMessage
methods that acceptComponent
Sends this sender a chat component.- Parameters:
component
- the components to send
-
sendMessage
@Deprecated public void sendMessage(@NotNull @NotNull net.md_5.bungee.api.chat.BaseComponent... components) Deprecated.usesendMessage
methods that acceptComponent
Sends an array of components as a single message to the sender.- Parameters:
components
- the components to send
-
sendMessage
@Deprecated public void sendMessage(@Nullable @Nullable UUID sender, @NotNull net.md_5.bungee.api.chat.BaseComponent component) Deprecated.usesendMessage
methods that acceptComponent
Sends this sender a chat component.- Parameters:
component
- the components to sendsender
- the sender of the message
-
sendMessage
@Deprecated public void sendMessage(@Nullable @Nullable UUID sender, @NotNull @NotNull net.md_5.bungee.api.chat.BaseComponent... components) Deprecated.usesendMessage
methods that acceptComponent
Sends an array of components as a single message to the sender.- Parameters:
components
- the components to sendsender
- the sender of the message
-
sendMessage
methods that acceptComponent