Class WorldTimeCondition
java.lang.Object
rocks.gravili.notquests.paper.structs.conditions.Condition
rocks.gravili.notquests.paper.structs.conditions.WorldTimeCondition
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckInternally(QuestPlayer questPlayer) voiddeserializeFromSingleLineString(ArrayList<String> arguments) getConditionDescription(org.bukkit.entity.Player player, Object... objects) final intfinal intstatic voidhandleCommands(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder, ConditionFor conditionFor) voidvoidvoidsetMaxTime(int maxTime) voidsetMinTime(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:
checkInternallyin 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:
getConditionDescriptionin classCondition
-
save
-
load
-
deserializeFromSingleLineString
- Specified by:
deserializeFromSingleLineStringin classCondition
-