Class CompletedObjectiveCondition
java.lang.Object
rocks.gravili.notquests.paper.structs.conditions.Condition
rocks.gravili.notquests.paper.structs.conditions.CompletedObjectiveCondition
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncheckInternally(QuestPlayer questPlayer) voiddeserializeFromSingleLineString(ArrayList<String> arguments) getConditionDescription(org.bukkit.entity.Player player, Object... objects) final Objectivefinal intstatic voidhandleCommands(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder, ConditionFor conditionFor) voidvoidvoidsetObjectiveID(int objectiveID) Methods inherited from class rocks.gravili.notquests.paper.structs.conditions.Conditioncheck, getCategory, getConditionName, getConditionType, getObjective, getProgressNeeded, getQuest, isNegated, setCategory, setConditionName, setNegated, setObjective, setProgressNeeded, setQuest
- 
Constructor Details- 
CompletedObjectiveCondition
 
- 
- 
Method Details- 
setObjectiveIDpublic void setObjectiveID(int objectiveID) 
- 
getObjectiveToCompleteIDpublic final int getObjectiveToCompleteID()
- 
getObjectiveToComplete
- 
checkInternally- Specified by:
- checkInternallyin class- Condition
- 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 class- Condition
 
- 
handleCommandspublic 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) 
- 
save
- 
load
- 
deserializeFromSingleLineString- Specified by:
- deserializeFromSingleLineStringin class- Condition
 
 
-