Class BQActiveQuestObjectiveCompleted
java.lang.Object
org.betonquest.betonquest.api.ForceSyncHandler<Boolean>
org.betonquest.betonquest.api.Condition
rocks.gravili.notquests.paper.managers.integrations.betonquest.events.BQActiveQuestObjectiveCompleted
public class BQActiveQuestObjectiveCompleted
extends org.betonquest.betonquest.api.Condition
-
Field Summary
Fields inherited from class org.betonquest.betonquest.api.Condition
instruction, persistent, staticness
-
Constructor Summary
ConstructorDescriptionBQActiveQuestObjectiveCompleted
(org.betonquest.betonquest.Instruction instruction) Creates new instance of the condition. -
Method Summary
Methods inherited from class org.betonquest.betonquest.api.Condition
isPersistent, isStatic
Methods inherited from class org.betonquest.betonquest.api.ForceSyncHandler
handle
-
Constructor Details
-
BQActiveQuestObjectiveCompleted
public BQActiveQuestObjectiveCompleted(org.betonquest.betonquest.Instruction instruction) throws org.betonquest.betonquest.exceptions.InstructionParseException Creates new instance of the condition. The condition should parse instruction string at this point and extract all the data from it. If anything goes wrong, throwInstructionParseException
with an error message describing the problem.- Parameters:
instruction
- the Instruction object; you can get one from ID instance withID.generateInstruction()
or create it from an instruction string- Throws:
org.betonquest.betonquest.exceptions.InstructionParseException
-
-
Method Details