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