public interface WaypointTriggerPrompt
extends org.bukkit.conversations.Prompt
RETURN_PROMPT_KEY
key in the
ConversationContext
and to set the specified trigger under CREATED_TRIGGER_KEY
prior to returning.
If the returned trigger is null
then the prompt is assumed to have failed and an error message will be
displayed.Modifier and Type | Field and Description |
---|---|
static String |
CREATED_TRIGGER_KEY |
static String |
RETURN_PROMPT_KEY |
Modifier and Type | Method and Description |
---|---|
WaypointTrigger |
createFromShortInput(org.bukkit.conversations.ConversationContext context,
String input) |
static final String CREATED_TRIGGER_KEY
static final String RETURN_PROMPT_KEY
WaypointTrigger createFromShortInput(org.bukkit.conversations.ConversationContext context, String input)
Copyright © 2021. All rights reserved.