Package org.bukkit.conversations
Class StringPrompt
- java.lang.Object
-
- org.bukkit.conversations.StringPrompt
-
-
Field Summary
-
Fields inherited from interface org.bukkit.conversations.Prompt
END_OF_CONVERSATION
-
-
Constructor Summary
Constructors Constructor Description StringPrompt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
blocksForInput(ConversationContext context)
Ensures that the prompt waits for the user to provide input.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bukkit.conversations.Prompt
acceptInput, getPromptText
-
-
-
-
Method Detail
-
blocksForInput
public boolean blocksForInput(@NotNull ConversationContext context)
Ensures that the prompt waits for the user to provide input.- Specified by:
blocksForInput
in interfacePrompt
- Parameters:
context
- Context information about the conversation.- Returns:
- True.
-
-