类 CommandSender.Spigot
java.lang.Object
org.bukkit.command.CommandSender.Spigot
- 直接已知子类:
Entity.Spigot
- 封闭接口:
- CommandSender
-
构造器概要
-
方法概要
修饰符和类型方法说明void
sendMessage
(@NotNull BaseComponent... components) 将多个聊天消息组件作为单条消息发送给命令发送者.void
sendMessage
(@Nullable UUID sender, @NotNull BaseComponent... components) 将多个聊天消息组件作为单条消息发送给命令发送者.void
sendMessage
(@Nullable UUID sender, BaseComponent component) 向命令发送者发送一个聊天消息组件.void
sendMessage
(BaseComponent component) 向命令发送者发送一个聊天消息组件.
-
构造器详细资料
-
Spigot
public Spigot()
-
-
方法详细资料
-
sendMessage
向命令发送者发送一个聊天消息组件.原文:Sends this sender a chat component.
- 参数:
component
- 要发送的聊天消息组件
-
sendMessage
将多个聊天消息组件作为单条消息发送给命令发送者.原文:Sends an array of components as a single message to the sender.
- 参数:
components
- 要发送的聊天消息组件
-
sendMessage
向命令发送者发送一个聊天消息组件.原文:Sends this sender a chat component.
- 参数:
component
- 要发送的聊天消息组件sender
- 消息的发送者
-
sendMessage
public void sendMessage(@Nullable @Nullable UUID sender, @NotNull @NotNull BaseComponent... components) 将多个聊天消息组件作为单条消息发送给命令发送者.原文:Sends an array of components as a single message to the sender.
- 参数:
components
- 要发送的聊天消息组件sender
- 消息的发送者
-