DynamicQuest

public class DynamicQuest extends Quest

Constructors

Link copied to clipboard
public void DynamicQuest(Player player, int targetMobLevel, QuestObjectives questObjectives)

Inherited properties

Link copied to clipboard
protected final static HashMap<UUID, List<Quest>> pendingPlayerQuests
Link copied to clipboard
public UUID playerUUID
Link copied to clipboard
protected String questGiver
Link copied to clipboard
public final UUID questID
Link copied to clipboard
public int questLevel
Link copied to clipboard
protected String questName
Link copied to clipboard
Link copied to clipboard
protected String questTaker

Functions

Link copied to clipboard
public static void adaptPlayerQuestsToLevel(Player player, int newMobLevel)
Adapts all active DynamicQuests for a player to a new mob level.
Link copied to clipboard
public void adaptToLevel(int newMobLevel)
Adapts this quest to a new mob level.
Link copied to clipboard
public static List<DynamicQuest> generateQuests(Player player)
Link copied to clipboard
public static List<DynamicQuest> getQuests(Player player)
Link copied to clipboard
public static boolean hasAvailableQuests(Player player)
The same offer selection as getQuests, without generating pending quests for a marker.
Link copied to clipboard
public static void shutdown()
Link copied to clipboard
public static void startRandomizingQuests()

Inherited functions

Link copied to clipboard
public static Quest completeQuest(UUID questUUID, Player player)
Link copied to clipboard
public static HashMap<UUID, List<Quest>> getPendingPlayerQuests()
Link copied to clipboard
public UUID getPlayerUUID()
Link copied to clipboard
public String getQuestGiver()
Link copied to clipboard
public UUID getQuestID()
Link copied to clipboard
public int getQuestLevel()
Link copied to clipboard
public String getQuestName()
Link copied to clipboard
Link copied to clipboard
public String getQuestTaker()
Link copied to clipboard
public boolean isAccepted()
Link copied to clipboard
public void setAccepted(boolean accepted)
Link copied to clipboard
public void setPlayerUUID(UUID playerUUID)
Link copied to clipboard
public void setQuestGiver(String questGiver)
Link copied to clipboard
public void setQuestLevel(int questLevel)
Link copied to clipboard
public void setQuestTaker(String questTaker)
Link copied to clipboard
public static void stopPlayerQuest(Player player, String questID)