Class WorldTimeCondition
java.lang.Object
rocks.gravili.notquests.paper.structs.conditions.Condition
rocks.gravili.notquests.paper.structs.conditions.WorldTimeCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheckInternally
(QuestPlayer questPlayer) void
deserializeFromSingleLineString
(ArrayList<String> arguments) getConditionDescription
(org.bukkit.entity.Player player, Object... objects) 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.paper.structs.conditions.Condition
check, getCategory, getConditionName, getConditionType, getObjective, getProgressNeeded, getQuest, isNegated, setCategory, setConditionName, setNegated, 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() -
checkInternally
- Specified by:
checkInternally
in classCondition
- Returns:
- String if the condition is not fulfilled. Empty string if the condition is fulfilled. The String should say the still-required condition.
-
getConditionDescription
- Specified by:
getConditionDescription
in classCondition
-
save
-
load
-
deserializeFromSingleLineString
- Specified by:
deserializeFromSingleLineString
in classCondition
-