public class Stage
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Stage.Builder |
Constructor and Description |
---|
Stage() |
Stage(int stage,
int nextStage) |
Stage(int stage,
int nextStage,
java.lang.String objective) |
Stage(net.minecraft.network.PacketBuffer buf) |
Stage(Stage toCopy) |
Modifier and Type | Method and Description |
---|---|
static Stage.Builder |
builder(Quest.Builder questBuilder) |
void |
changeIcon() |
StageIcon |
getIcon() |
short |
getNextStage() |
java.util.ArrayList<Action> |
getParsedActions() |
java.util.ArrayList<Objective> |
getParsedConditions() |
java.util.ArrayList<Objective> |
getParsedObjectives() |
java.util.ArrayList<java.lang.String> |
getRawActions() |
java.util.ArrayList<java.lang.String> |
getRawConditions() |
java.util.ArrayList<java.lang.String> |
getRawObjectives() |
short |
getStage() |
boolean |
meetsConditions(QuestData data,
QuestProgress progress) |
protected void |
parse(Quest quest) |
void |
readFromByteBuf(net.minecraft.network.PacketBuffer buf) |
void |
setNextStage(short nextStage) |
void |
setStage(short stage) |
void |
writeToByteBuf(net.minecraft.network.PacketBuffer buf) |
public Stage()
public Stage(int stage, int nextStage)
public Stage(int stage, int nextStage, java.lang.String objective)
public Stage(Stage toCopy)
public Stage(net.minecraft.network.PacketBuffer buf)
public short getStage()
public short getNextStage()
public StageIcon getIcon()
public void changeIcon()
public java.util.ArrayList<java.lang.String> getRawConditions()
public java.util.ArrayList<java.lang.String> getRawObjectives()
public java.util.ArrayList<java.lang.String> getRawActions()
public java.util.ArrayList<Objective> getParsedConditions()
public java.util.ArrayList<Objective> getParsedObjectives()
public java.util.ArrayList<Action> getParsedActions()
public boolean meetsConditions(QuestData data, QuestProgress progress) throws InvalidQuestArgsException
InvalidQuestArgsException
public void setStage(short stage)
public void setNextStage(short nextStage)
protected void parse(Quest quest) throws InvalidQuestArgsException
InvalidQuestArgsException
public static Stage.Builder builder(Quest.Builder questBuilder)
public void readFromByteBuf(net.minecraft.network.PacketBuffer buf)
public void writeToByteBuf(net.minecraft.network.PacketBuffer buf)