Class BQQuestActiveCondition
java.lang.Object
org.betonquest.betonquest.api.ForceSyncHandler<Boolean>
org.betonquest.betonquest.api.Condition
rocks.gravili.notquests.spigot.managers.integrations.betonquest.events.BQQuestActiveCondition
public class BQQuestActiveCondition
extends org.betonquest.betonquest.api.Condition
-
Field Summary
Fields inherited from class org.betonquest.betonquest.api.Condition
instruction, persistent, staticness
-
Constructor Summary
ConstructorDescriptionBQQuestActiveCondition
(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
-
BQQuestActiveCondition
public BQQuestActiveCondition(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