Package | Description |
---|---|
eu.wauz.wauzcore.events |
This package contains all custom event classes used in WauzCore.
|
eu.wauz.wauzcore.menu.collection |
This package contains inventory classes, used as menu for collection mechanics.
|
eu.wauz.wauzcore.system.quests |
This package contains classes, that are used for the quest system.
|
Modifier and Type | Field and Description |
---|---|
private WauzQuest |
WauzPlayerEventQuestComplete.quest
The quest to complete.
|
private WauzQuest |
WauzPlayerEventQuestAccept.quest
The quest to accept.
|
Constructor and Description |
---|
WauzPlayerEventQuestAccept(WauzQuest quest,
java.lang.String questSlot)
Creates an event to accept the given quest.
|
WauzPlayerEventQuestComplete(WauzQuest quest,
java.lang.String questSlot)
Creates an event to complete the given quest.
|
Modifier and Type | Field and Description |
---|---|
private WauzQuest |
QuestRewardChooser.quest
The quest that has been completed.
|
Modifier and Type | Method and Description |
---|---|
static void |
QuestRewardChooser.open(org.bukkit.entity.Player player,
WauzQuest quest,
WauzPlayerEventQuestComplete completeEvent)
Opens the menu for the given player.
|
Constructor and Description |
---|
QuestRewardChooser(WauzQuest quest,
WauzPlayerEventQuestComplete completeEvent)
Creates a new chooser with an event to execute after the choice was made.
|
Modifier and Type | Field and Description |
---|---|
protected WauzQuest |
QuestRequirementChecker.quest
The quest to check requirements for.
|
private WauzQuest |
QuestProcessor.quest
The quest of the player;
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Integer,java.util.List<WauzQuest>> |
WauzQuest.levelQuestsMap
A map with lists of quests, indexed by level.
|
private static java.util.Map<java.lang.String,WauzQuest> |
WauzQuest.questMap
A map of quests, indexed by name.
|
Modifier and Type | Method and Description |
---|---|
static WauzQuest |
WauzQuest.getQuest(java.lang.String questName) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<WauzQuest> |
WauzQuest.getQuestsForLevel(int level) |
Modifier and Type | Method and Description |
---|---|
static QuestRequirementChecker |
QuestRequirementChecker.create(org.bukkit.entity.Player player,
WauzQuest quest,
int phase)
Creates a quest requirement checker, based on the type of the phase.
|
static org.bukkit.inventory.ItemStack |
QuestMenuItems.generateCompletedQuest(org.bukkit.entity.Player player,
WauzQuest quest)
Creates an item stack, containing information about a finished quest.
|
static org.bukkit.inventory.ItemStack |
QuestMenuItems.generateUnacceptedQuest(org.bukkit.entity.Player player,
WauzQuest quest,
int phase,
boolean trackable)
Creates an item stack, containing information about an unstarted quest.
|
private static java.util.List<java.lang.String> |
QuestMenuItems.getInformationSection(WauzQuest quest)
Creates a information section, to display in quest item lores.
|
private static java.util.List<java.lang.String> |
QuestMenuItems.getRewardSection(org.bukkit.entity.Player player,
WauzQuest quest)
Creates a reward section, including bonus multipliers, to display in quest item lores.
|
Constructor and Description |
---|
QuestRequirementChecker(org.bukkit.entity.Player player,
WauzQuest quest,
int phase)
Initializes a new quest requirement checker.
|
QuestRequirementCheckerItems(org.bukkit.entity.Player player,
WauzQuest quest,
int phase)
Initializes a new quest requirement checker for items.
|
QuestRequirementCheckerKills(org.bukkit.entity.Player player,
WauzQuest quest,
int phase)
Initializes a new quest requirement checker for kills.
|