Package dev.twilite.game.facade
Class Quests
java.lang.Object
dev.twilite.game.facade.Quests
Quest progress accessors backed by live varp and varbit values.
Use state(Quest) when partial progress matters, and
started(Quest) or complete(Quest) for coarse status checks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturns whetherquesthas reached its configured completion step.static intpoints()Returns the player's current quest point total.static booleanReturns whetherquesthas been started but not completed.static intReturns the raw progress value forquest.
-
Constructor Details
-
Quests
public Quests()
-
-
Method Details
-
points
public static int points()Returns the player's current quest point total. -
state
Returns the raw progress value forquest.The value is read from either a varbit or varp depending on the quest's metadata.
-
started
Returns whetherquesthas been started but not completed. -
complete
Returns whetherquesthas reached its configured completion step.
-