Class ConditionCondition
java.lang.Object
rocks.gravili.notquests.paper.structs.conditions.Condition
rocks.gravili.notquests.paper.structs.conditions.ConditionCondition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheckInternally
(QuestPlayer questPlayer) void
deserializeFromSingleLineString
(ArrayList<String> arguments) final Condition
getConditionDescription
(org.bukkit.entity.Player player, Object... objects) 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
setCondition
(Condition condition) 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
-
ConditionCondition
-
-
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) -
getCondition
-
setCondition
-
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
-