Class WorldTimeCondition
java.lang.Object
rocks.gravili.notquests.spigot.structs.conditions.Condition
rocks.gravili.notquests.spigot.structs.conditions.WorldTimeCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(QuestPlayer questPlayer, boolean enforce) final int
final int
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
setMaxTime
(int maxTime) void
setMinTime
(int minTime) Methods inherited from class rocks.gravili.notquests.spigot.structs.conditions.Condition
getConditionName, getConditionType, getObjective, getProgressNeeded, getQuest, setConditionName, setObjective, setProgressNeeded, setQuest
-
Constructor Details
-
WorldTimeCondition
-
-
Method Details
-
setMinTime
public void setMinTime(int minTime) -
setMaxTime
public void setMaxTime(int maxTime) -
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) -
getMinTime
public final int getMinTime() -
getMaxTime
public final int getMaxTime() -
check
-
getConditionDescription
- Specified by:
getConditionDescription
in classCondition
-
save
-
load
-