java.lang.Object
com.pixelmonmod.pixelmon.quests.quest.Quest

public class Quest extends Object
  • Field Details

    • standardQuest

      public static Class<? extends Quest> standardQuest
  • Constructor Details

    • Quest

      public Quest()
    • Quest

      public Quest(String filename)
    • Quest

      public Quest(Quest toCopy, String newFilename)
    • Quest

      public Quest(net.minecraft.network.FriendlyByteBuf buf)
  • Method Details

    • putNewStringIfNeeded

      public void putNewStringIfNeeded(String key, String value)
    • 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

      public void setFilename(String filename)
    • parseAndMap

      public void parseAndMap() throws InvalidQuestArgsException
      Throws:
      InvalidQuestArgsException
    • getFilename

      public String getFilename()
    • getIdentityName

      public String getIdentityName()
    • getPrintableName

      public String getPrintableName()
    • getColor

      public QuestColor getColor()
    • setColor

      public void setColor(QuestColor color)
    • 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

      public ArrayList<Stage> getStages()
    • getStage

      public Stage getStage(QuestProgress progress)
    • getStage

      public Stage getStage(short stage)
    • getNextStage

      public Stage getNextStage(short stage)
    • getUnlocalizedString

      public String getUnlocalizedString(String key)
    • getUnlocalizedString

      public String getUnlocalizedString(String key, @Nullable QuestProgress progress)
    • getLangKey

      public String getLangKey(String key)
    • getUnlocalizedStringMap

      public HashMap<String,String> getUnlocalizedStringMap()
    • putUnlocalizedString

      public void putUnlocalizedString(String key, String value)
    • removeUnlocalizedString

      public void removeUnlocalizedString(String key)
    • builder

      public static Quest.Builder builder()
    • readFromByteBuf

      public void readFromByteBuf(net.minecraft.network.FriendlyByteBuf buf)
    • writeToByteBuf

      public void writeToByteBuf(net.minecraft.network.FriendlyByteBuf buf)