Class QuestElementArgument
java.lang.Object
com.pixelmonmod.pixelmon.quests.editor.args.QuestElementArgument
-
Constructor Summary
ConstructorDescriptionQuestElementArgument
(String name, boolean optional, boolean string, ArgumentType type, String... options) QuestElementArgument
(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
getName()
String[]
boolean
isEmpty()
boolean
isString()
boolean
isValid()
void
readFromByteBuf
(net.minecraft.network.FriendlyByteBuf buf) void
setCurrentValue
(String value) void
writeToByteBuf
(net.minecraft.network.FriendlyByteBuf buf)
-
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
-
getName
-
getCurrentValue
-
getTrueCurrentValue
-
isString
public boolean isString() -
setCurrentValue
-
isEmpty
public boolean isEmpty() -
isValid
public boolean isValid() -
getOptions
-
readFromByteBuf
public void readFromByteBuf(net.minecraft.network.FriendlyByteBuf buf) -
writeToByteBuf
public void writeToByteBuf(net.minecraft.network.FriendlyByteBuf buf)
-