Class BQActionEvent
java.lang.Object
org.betonquest.betonquest.api.ForceSyncHandler<Void>
org.betonquest.betonquest.api.QuestEvent
rocks.gravili.notquests.spigot.managers.integrations.betonquest.events.BQActionEvent
public class BQActionEvent
extends org.betonquest.betonquest.api.QuestEvent
-
Field Summary
Fields inherited from class org.betonquest.betonquest.api.QuestEvent
conditions, instruction, persistent, staticness
-
Constructor Summary
ConstructorDescriptionBQActionEvent
(org.betonquest.betonquest.Instruction instruction) Creates new instance of the event. -
Method Summary
Methods inherited from class org.betonquest.betonquest.api.QuestEvent
fire, getFullId
Methods inherited from class org.betonquest.betonquest.api.ForceSyncHandler
handle
-
Constructor Details
-
BQActionEvent
public BQActionEvent(org.betonquest.betonquest.Instruction instruction) throws org.betonquest.betonquest.exceptions.InstructionParseException Creates new instance of the event. The event should parse instruction string without doing anything else. If anything goes wrong, throwInstructionParseException
with error message describing the problem.- Parameters:
instruction
- the Instruction object representing this event; you need to extract all required data from it and throwInstructionParseException
if there is anything wrong- Throws:
org.betonquest.betonquest.exceptions.InstructionParseException
- when the is an error in the syntax or argument parsing
-
-
Method Details