QuestObjectives

public class QuestObjectives implements Serializable

Constructors

Link copied to clipboard
public void QuestObjectives(int questLevel)
Used for dynamic quests
public void QuestObjectives(UUID uuid, List<Objective> objectives)
public void QuestObjectives(QuestReward customQuestReward)
Used for custom quests

Properties

Link copied to clipboard
public List<Objective> objectives
Link copied to clipboard
public Quest quest
Link copied to clipboard
Link copied to clipboard
public final UUID uuid

Functions

Link copied to clipboard
public void adaptToLevel(int newMobLevel)
Adapts this quest's objectives to a new mob level.
Link copied to clipboard
public void displayLazyObjectivesScoreboard(Player player)
Link copied to clipboard
public void displayTemporaryObjectivesScoreboard(Player player)
Link copied to clipboard
public List<Objective> getObjectives()
Link copied to clipboard
public Quest getQuest()
Link copied to clipboard
Link copied to clipboard
public List<String> getScoreboardObjectiveText()
Link copied to clipboard
public UUID getUuid()
Link copied to clipboard
public boolean isOver()
Returns whether all the objectives have been cleared, meaning that the quest is over
Link copied to clipboard
public boolean isTurnedIn()
Link copied to clipboard
public void setForceOver(boolean forceOver)
Link copied to clipboard
public void setObjectives(List<Objective> objectives)
Link copied to clipboard
public void setQuest(Quest quest)
Link copied to clipboard
public void setQuestReward(QuestReward questReward)
Link copied to clipboard
public void setTurnedIn(boolean turnedIn)
Link copied to clipboard
public void updateQuestStatus(UUID playerUUID)