CustomFetchObjective

public class CustomFetchObjective extends Objective

Constructors

Link copied to clipboard
public void CustomFetchObjective(int targetAmount, String objectiveName, String customItemFilename)

Types

Link copied to clipboard
public class CustomFetchObjectiveEvents implements Listener

Properties

Link copied to clipboard
public final String key

Inherited properties

Link copied to clipboard
protected int currentAmount
Link copied to clipboard
protected boolean objectiveCompleted
Link copied to clipboard
protected String objectiveName
Link copied to clipboard
protected int targetAmount

Functions

Link copied to clipboard
public String getKey()
Link copied to clipboard
public boolean isReadyToPickUp()
This sets when a boss has been detected as having dropped the relevant item for the quest after the quest has been slated to begin.
Link copied to clipboard
public boolean isRequireItemTurnIn()
This sets whether the items are lost upon turning the quest in
Link copied to clipboard
public static boolean prepareTurnIn(QuestObjectives objectives, Player player, boolean consume)
Validates all fetch requirements against one inventory snapshot before changing any slot.
Link copied to clipboard
public void progressNonlinearObjective(QuestObjectives questObjectives, Player player)
Updates a non-linear objective, sending an event
Link copied to clipboard
public void setReadyToPickUp(boolean readyToPickUp)
This sets when a boss has been detected as having dropped the relevant item for the quest after the quest has been slated to begin.

Inherited functions

Link copied to clipboard
public int getCurrentAmount()
Link copied to clipboard
public String getObjectiveName()
Link copied to clipboard
public int getTargetAmount()
Link copied to clipboard
public boolean isObjectiveCompleted()
Link copied to clipboard
public void progressObjective(QuestObjectives questObjectives)
Link copied to clipboard
public void setCurrentAmount(int currentAmount)
Link copied to clipboard
public void setObjectiveName(String objectiveName)