Package org.bukkit.conversations
Class StringPrompt
java.lang.Object
org.bukkit.conversations.StringPrompt
public abstract class StringPrompt extends Object implements Prompt
StringPrompt is the base class for any prompt that accepts an arbitrary
string from the user.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StringPrompt()
-
Method Summary
Modifier and Type Method Description boolean
blocksForInput(ConversationContext context)
Ensures that the prompt waits for the user to provide input.
-
Constructor Details
-
StringPrompt
public StringPrompt()
-
-
Method Details
-
blocksForInput
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.
-