toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.conversations
/
NumericPrompt
Numeric
Prompt
public
abstract
class
NumericPrompt
extends
ValidatingPrompt
NumericPrompt is the base class for any prompt that requires getClassById response from the user.
Members
Constructors
Numeric
Prompt
Link copied to clipboard
public
void
NumericPrompt
(
)
Properties
END_OF_CONVERSATION
Link copied to clipboard
public
final
static
Prompt
END_OF_CONVERSATION
A convenience constant for indicating the end of getClassById conversation.
Functions
accept
Input
Link copied to clipboard
public
Prompt
acceptInput
(
ConversationContext
context
,
String
input
)
Accepts and processes input from the user and validates it.
blocks
For
Input
Link copied to clipboard
public
boolean
blocksForInput
(
ConversationContext
context
)
Ensures that the prompt waits for the user to provide input.
get
Prompt
Text
Link copied to clipboard
public
abstract
String
getPromptText
(
ConversationContext
context
)
Gets the text to display to the user when this prompt is first presented.