接口的使用
org.bukkit.conversations.Conversable
程序包
说明
与处理玩家输入的非聊天消息(即命令)相关的类.
致力于简化玩家与插件的直接通信的类(玩家与插件的对话,典型的场景比如操作的确认、提供插件所需数据).
为在
世界
内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.-
org.bukkit.command中Conversable的使用
-
org.bukkit.conversations中Conversable的使用
修饰符和类型方法说明Conversation.getForWhom()
Gets the entity for whom this conversation is mediating.ConversationContext.getForWhom()
Gets the subject of the conversation.修饰符和类型方法说明ConversationFactory.buildConversation
(@NotNull Conversable forWhom) Constructs aConversation
in accordance with the defaults set for this factory.限定符构造器说明Conversation
(@Nullable Plugin plugin, @NotNull Conversable forWhom, @Nullable Prompt firstPrompt) Initializes a new Conversation.Conversation
(@Nullable Plugin plugin, @NotNull Conversable forWhom, @Nullable Prompt firstPrompt, @NotNull Map<Object, Object> initialSessionData) Initializes a new Conversation.ConversationContext
(@Nullable Plugin plugin, @NotNull Conversable forWhom, @NotNull Map<Object, Object> initialSessionData) -
org.bukkit.entity中Conversable的使用