Class ReachLocationObjective

java.lang.Object
rocks.gravili.notquests.paper.structs.objectives.Objective
rocks.gravili.notquests.paper.structs.objectives.ReachLocationObjective

public class ReachLocationObjective extends Objective
  • Constructor Details

    • ReachLocationObjective

      public ReachLocationObjective(NotQuests main)
  • 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

      public String getObjectiveTaskDescription(String eventualColor, org.bukkit.entity.Player player)
      Specified by:
      getObjectiveTaskDescription in class Objective
    • setLocationName

      public void setLocationName(String locationName)
    • save

      public void save(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
      Specified by:
      save in class Objective
    • onObjectiveUnlock

      public void onObjectiveUnlock(ActiveObjective activeObjective)
      Specified by:
      onObjectiveUnlock in class Objective
    • getMinLocation

      public final org.bukkit.Location getMinLocation()
    • getMaxLocation

      public final org.bukkit.Location getMaxLocation()
    • getLocationName

      public final String getLocationName()
    • load

      public void load(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
      Specified by:
      load in class Objective