Class CompletedQuestCondition
java.lang.Object
rocks.gravili.notquests.spigot.structs.conditions.Condition
rocks.gravili.notquests.spigot.structs.conditions.CompletedQuestCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(QuestPlayer questPlayer, boolean enforce) final long
final long
final Quest
final String
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) void
void
void
setMinimumTimeAfterCompletion
(long minimumTimeAfterCompletion) void
setOtherQuestName
(String otherQuestName) Methods inherited from class rocks.gravili.notquests.spigot.structs.conditions.Condition
getConditionName, getConditionType, getObjective, getProgressNeeded, getQuest, setConditionName, setObjective, setProgressNeeded, setQuest
-
Constructor Details
-
CompletedQuestCondition
-
-
Method Details
-
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) -
getMinimumTimeAfterCompletion
public final long getMinimumTimeAfterCompletion() -
setOtherQuestName
-
getOtherQuestName
-
getOtherQuest
-
getAmountOfCompletionsNeeded
public final long getAmountOfCompletionsNeeded() -
setMinimumTimeAfterCompletion
public void setMinimumTimeAfterCompletion(long minimumTimeAfterCompletion) -
check
-
getConditionDescription
- Specified by:
getConditionDescription
in classCondition
-
save
-
load
-