Class Quest

java.lang.Object
net.botwithus.rs3.game.quest.Quest

public final class Quest extends Object
An immutable representation of a quest in RuneScape
  • Method Details

    • isStarted

      public boolean isStarted()
      Returns whether the quest has been started
      Returns:
      true if the quest has been started
    • isComplete

      public boolean isComplete()
      Returns whether the quest has been completed
      Returns:
      true if the quest has been completed
    • progress

      public int progress()
      Returns the progress of the quest
      Returns:
      the progress of the quest
    • name

      public String name()
      Returns the name of the quest
      Returns:
      the name of the quest
    • getQuestPoints

      public int getQuestPoints()
      Returns the rewarded quest points on completion
      Returns:
      the rewarded quest points on completion
    • getQuestPointReq

      public int getQuestPointReq()
      Returns the quest point requirement to start the quest
      Returns:
      the quest point requirement to start the quest
    • getCategory

      public int getCategory()
      Returns the category of the quest
      Returns:
      the category of the quest
    • getDifficulty

      public int getDifficulty()
      Returns the difficulty of the quest
      Returns:
      the difficulty of the quest
    • isMembers

      public boolean isMembers()
      Returns whether the quest is members only
      Returns:
      true if the quest is members only
    • getListName

      public String getListName()
      Returns the list name of the quest
      Returns:
      the list name of the quest
    • getQuestItemSprite

      public int getQuestItemSprite()
      Returns the sprite id of the quest item
      Returns:
      the sprite id of the quest item
    • getRequiredSkills

      public List<Skills> getRequiredSkills()
      Returns the required skills to start the quest
      Returns:
      the required skills to start the quest
    • hasRequirements

      public boolean hasRequirements()
      Returns whether the player has the quest requirements to start Checks quest points, skills, and required quests
      Returns:
      true if the player has all the requirements to start
    • getRequiredQuests

      public List<Quest> getRequiredQuests()
      Returns the quests required to start this quest
      Returns:
      the quests required to start this quest
    • getStartLocations

      public List<Coordinate> getStartLocations()
      Returns the start locations of the quest
      Returns:
      the start locations of the quest
    • type

      public QuestType type()
    • byId

      public static Optional<Quest> byId(int id)