Class InteractObjective

java.lang.Object
rocks.gravili.notquests.spigot.structs.objectives.Objective
rocks.gravili.notquests.spigot.structs.objectives.InteractObjective

public class InteractObjective extends Objective
  • Constructor Details

    • InteractObjective

      public InteractObjective(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)
    • setLocationToInteract

      public void setLocationToInteract(org.bukkit.Location locationToInteract)
    • setLeftClick

      public void setLeftClick(boolean leftClick)
    • setRightClick

      public void setRightClick(boolean rightClick)
    • setTaskDescription

      public void setTaskDescription(String taskDescription)
    • setMaxDistance

      public void setMaxDistance(int maxDistance)
    • setCancelInteraction

      public void setCancelInteraction(boolean cancelInteraction)
    • getObjectiveTaskDescription

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

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

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

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

      public final org.bukkit.Location getLocationToInteract()
    • isLeftClick

      public final boolean isLeftClick()
    • isRightClick

      public final boolean isRightClick()
    • getTaskDescription

      public final String getTaskDescription()
    • getMaxDistance

      public final int getMaxDistance()
    • isCancelInteraction

      public final boolean isCancelInteraction()