类 MessagePrompt
java.lang.Object
org.bukkit.conversations.MessagePrompt
MessagePrompt is the base class for any prompt that only displays a message
to the user and requires no input.
-
字段概要
从接口继承的字段 org.bukkit.conversations.Prompt
END_OF_CONVERSATION
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明acceptInput
(ConversationContext context, String input) Accepts and ignores any user input, returning the next prompt in the prompt graph instead.boolean
blocksForInput
(ConversationContext context) Message prompts never wait for user input before continuing.protected abstract Prompt
getNextPrompt
(ConversationContext context) Override this method to return the next prompt in the prompt graph.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.bukkit.conversations.Prompt
getPromptText
-
构造器详细资料
-
MessagePrompt
public MessagePrompt()
-
-
方法详细资料
-
blocksForInput
Message prompts never wait for user input before continuing.- 指定者:
blocksForInput
在接口中Prompt
- 参数:
context
- Context information about the conversation.- 返回:
- Always false.
-
acceptInput
Accepts and ignores any user input, returning the next prompt in the prompt graph instead.- 指定者:
acceptInput
在接口中Prompt
- 参数:
context
- Context information about the conversation.input
- Ignored.- 返回:
- The next prompt in the prompt graph.
-
getNextPrompt
Override this method to return the next prompt in the prompt graph.- 参数:
context
- Context information about the conversation.- 返回:
- The next prompt in the prompt graph.
-