Class QuestPointsCondition
java.lang.Object
rocks.gravili.notquests.spigot.structs.conditions.Condition
rocks.gravili.notquests.spigot.structs.conditions.QuestPointsCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(QuestPlayer questPlayer, boolean enforce) final long
static void
handleCommands
(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder, ConditionFor conditionFor) final boolean
void
void
void
setDeductQuestPoints
(boolean deductQuestPoints) Methods inherited from class rocks.gravili.notquests.spigot.structs.conditions.Condition
getConditionName, getConditionType, getObjective, getProgressNeeded, getQuest, setConditionName, setObjective, setProgressNeeded, setQuest
-
Constructor Details
-
QuestPointsCondition
-
-
Method Details
-
setDeductQuestPoints
public void setDeductQuestPoints(boolean deductQuestPoints) -
getQuestPointRequirement
public final long getQuestPointRequirement() -
isDeductQuestPoints
public final boolean isDeductQuestPoints() -
check
-
save
-
load
-
getConditionDescription
- Specified by:
getConditionDescription
in classCondition
-
handleCommands
public static void handleCommands(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder, ConditionFor conditionFor)
-