Class QuestElementArgument

java.lang.Object
com.pixelmonmod.pixelmon.quests.editor.args.QuestElementArgument

public class QuestElementArgument extends Object
  • Constructor Details

    • QuestElementArgument

      public QuestElementArgument(String name, boolean optional, boolean string, ArgumentType type, String... options)
    • QuestElementArgument

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

    • copy

      public QuestElementArgument copy()
    • getName

      public String getName()
    • getCurrentValue

      public String getCurrentValue()
    • getTrueCurrentValue

      public String getTrueCurrentValue()
    • isString

      public boolean isString()
    • setCurrentValue

      public void setCurrentValue(String value)
    • isEmpty

      public boolean isEmpty()
    • isValid

      public boolean isValid()
    • getOptions

      public String[] getOptions()
    • readFromByteBuf

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

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