Interface WaypointTriggerPrompt
- All Known Implementing Classes:
AnimationTriggerPrompt,ChatTriggerPrompt,DelayTriggerPrompt,SpeedTriggerPrompt,TeleportTriggerPrompt
Marker interface for waypoint trigger prompts.
Prompts are expected to return to the prompt specified under the
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.-
Field Summary
FieldsFields inherited from interface org.bukkit.conversations.Prompt
END_OF_CONVERSATION -
Method Summary
Modifier and TypeMethodDescriptioncreateFromShortInput(ConversationContext context, String input) Methods inherited from interface org.bukkit.conversations.Prompt
acceptInput, blocksForInput, getPromptText
-
Field Details
-
CREATED_TRIGGER_KEY
- See Also:
-
RETURN_PROMPT_KEY
- See Also:
-
-
Method Details
-
createFromShortInput
-