Class ReachLocationObjective
java.lang.Object
rocks.gravili.notquests.spigot.structs.objectives.Objective
rocks.gravili.notquests.spigot.structs.objectives.ReachLocationObjective
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
final org.bukkit.Location
final org.bukkit.Location
getObjectiveTaskDescription
(String eventualColor, org.bukkit.entity.Player player) static void
handleCommands
(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> addObjectiveBuilder) void
void
onObjectiveUnlock
(ActiveObjective activeObjective) void
void
setLocationName
(String locationName) void
setMaxLocation
(org.bukkit.Location maxLocation) void
setMinLocation
(org.bukkit.Location minLocation) 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
-
ReachLocationObjective
-
-
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) -
setMinLocation
public void setMinLocation(org.bukkit.Location minLocation) -
setMaxLocation
public void setMaxLocation(org.bukkit.Location maxLocation) -
getObjectiveTaskDescription
- Specified by:
getObjectiveTaskDescription
in classObjective
-
setLocationName
-
save
-
onObjectiveUnlock
- Specified by:
onObjectiveUnlock
in classObjective
-
getMinLocation
public final org.bukkit.Location getMinLocation() -
getMaxLocation
public final org.bukkit.Location getMaxLocation() -
getLocationName
-
load
-