Class Stage
java.lang.Object
com.pixelmonmod.pixelmon.quests.quest.Stage
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stage.Builder
builder
(Quest.Builder questBuilder) void
getIcon()
short
short
getStage()
boolean
meetsConditions
(QuestData data, QuestProgress progress) protected void
void
readFromByteBuf
(net.minecraft.network.FriendlyByteBuf buf) void
setNextStage
(short nextStage) void
setStage
(short stage) void
writeToByteBuf
(net.minecraft.network.FriendlyByteBuf buf)
-
Constructor Details
-
Stage
public Stage() -
Stage
public Stage(int stage, int nextStage) -
Stage
-
Stage
-
Stage
public Stage(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
getStage
public short getStage() -
getNextStage
public short getNextStage() -
getIcon
-
changeIcon
public void changeIcon() -
getRawConditions
-
getRawObjectives
-
getRawActions
-
getParsedConditions
-
getParsedObjectives
-
getParsedActions
-
meetsConditions
public boolean meetsConditions(QuestData data, QuestProgress progress) throws InvalidQuestArgsException - Throws:
InvalidQuestArgsException
-
setStage
public void setStage(short stage) -
setNextStage
public void setNextStage(short nextStage) -
parse
- Throws:
InvalidQuestArgsException
-
builder
-
readFromByteBuf
public void readFromByteBuf(net.minecraft.network.FriendlyByteBuf buf) -
writeToByteBuf
public void writeToByteBuf(net.minecraft.network.FriendlyByteBuf buf)
-