Class Quest
java.lang.Object
com.pixelmonmod.pixelmon.quests.quest.Quest
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Quest.Builder
builder()
void
clearDefaultStrings
(int stage, int objectives) void
clearDefaultStrings
(int stage, int objective, boolean unused) short
getColor()
getLangKey
(String key) getNextStage
(short stage) getStage
(short stage) getStage
(QuestProgress progress) getUnlocalizedString
(String key, QuestProgress progress) int
boolean
boolean
void
void
putNewStringIfNeeded
(String key, String value) void
putUnlocalizedString
(String key, String value) void
readFromByteBuf
(net.minecraft.network.FriendlyByteBuf buf) void
void
setActiveStage
(short activeStage) void
setColor
(QuestColor color) void
void
setDefaultStrings
(int stage, int objectives) void
setDefaultStrings
(int stage, int objective, boolean unused) void
setFilename
(String filename) void
setWeight
(int weight) void
void
void
writeToByteBuf
(net.minecraft.network.FriendlyByteBuf buf)
-
Field Details
-
standardQuest
-
-
Constructor Details
-
Quest
public Quest() -
Quest
-
Quest
-
Quest
public Quest(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
putNewStringIfNeeded
-
setDefaultStrings
public void setDefaultStrings() -
setDefaultStrings
public void setDefaultStrings(int stage, int objectives) -
setDefaultStrings
public void setDefaultStrings(int stage, int objective, boolean unused) -
clearDefaultStrings
public void clearDefaultStrings(int stage, int objectives) -
clearDefaultStrings
public void clearDefaultStrings(int stage, int objective, boolean unused) -
setFilename
-
parseAndMap
- Throws:
InvalidQuestArgsException
-
getFilename
-
getIdentityName
-
getPrintableName
-
getColor
-
setColor
-
getWeight
public int getWeight() -
setWeight
public void setWeight(int weight) -
isRepeatable
public boolean isRepeatable() -
toggleRepeatability
public void toggleRepeatability() -
isAbandonable
public boolean isAbandonable() -
toggleAbandonability
public void toggleAbandonability() -
getActiveStage
public short getActiveStage() -
setActiveStage
public void setActiveStage(short activeStage) -
getStages
-
getStage
-
getStage
-
getNextStage
-
getUnlocalizedString
-
getUnlocalizedString
-
getLangKey
-
getUnlocalizedStringMap
-
putUnlocalizedString
-
removeUnlocalizedString
-
builder
-
readFromByteBuf
public void readFromByteBuf(net.minecraft.network.FriendlyByteBuf buf) -
writeToByteBuf
public void writeToByteBuf(net.minecraft.network.FriendlyByteBuf buf)
-