Class OtherQuestObjective
java.lang.Object
rocks.gravili.notquests.spigot.structs.objectives.Objective
rocks.gravili.notquests.spigot.structs.objectives.OtherQuestObjective
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
getObjectiveTaskDescription
(String eventualColor, org.bukkit.entity.Player player) final Quest
final String
static void
handleCommands
(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> addObjectiveBuilder) final boolean
void
void
onObjectiveUnlock
(ActiveObjective activeObjective) void
void
setCountPreviousCompletions
(boolean countPreviousCompletions) void
setOtherQuestName
(String otherQuestName) Methods inherited from class rocks.gravili.notquests.spigot.structs.objectives.Objective
addCondition, addReward, clearConditions, clearRewards, getCompletionArmorStandUUID, getCompletionNPCID, getConditions, getObjectiveDescription, getObjectiveDescription, getObjectiveDisplayName, getObjectiveFinalName, getObjectiveID, getProgressNeeded, getQuest, getRewards, removeCondition, removeObjectiveDescription, removeObjectiveDisplayName, removeReward, setCompletionArmorStandUUID, setCompletionNPCID, setObjectiveDescription, setObjectiveDisplayName, setObjectiveID, setProgressNeeded, setQuest
-
Constructor Details
-
OtherQuestObjective
-
-
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> addObjectiveBuilder) -
setOtherQuestName
-
getObjectiveTaskDescription
- Specified by:
getObjectiveTaskDescription
in classObjective
-
setCountPreviousCompletions
public void setCountPreviousCompletions(boolean countPreviousCompletions) -
save
-
onObjectiveUnlock
- Specified by:
onObjectiveUnlock
in classObjective
-
getOtherQuestName
-
getOtherQuest
-
getAmountOfCompletionsNeeded
public final long getAmountOfCompletionsNeeded() -
isCountPreviousCompletions
public final boolean isCountPreviousCompletions() -
load
-