public class QuestElementArgument
extends java.lang.Object
Constructor and Description |
---|
QuestElementArgument(net.minecraft.network.PacketBuffer buf) |
QuestElementArgument(java.lang.String name,
boolean optional,
boolean string,
ArgumentType type,
java.lang.String... options) |
Modifier and Type | Method and Description |
---|---|
QuestElementArgument |
copy() |
java.lang.String |
getCurrentValue() |
java.lang.String |
getName() |
java.lang.String[] |
getOptions() |
java.lang.String |
getTrueCurrentValue() |
boolean |
isEmpty() |
boolean |
isString() |
boolean |
isValid() |
void |
readFromByteBuf(net.minecraft.network.PacketBuffer buf) |
void |
setCurrentValue(java.lang.String value) |
void |
writeToByteBuf(net.minecraft.network.PacketBuffer buf) |
public QuestElementArgument(java.lang.String name, boolean optional, boolean string, ArgumentType type, java.lang.String... options)
public QuestElementArgument(net.minecraft.network.PacketBuffer buf)
public QuestElementArgument copy()
public java.lang.String getName()
public java.lang.String getCurrentValue()
public java.lang.String getTrueCurrentValue()
public boolean isString()
public void setCurrentValue(java.lang.String value)
public boolean isEmpty()
public boolean isValid()
public java.lang.String[] getOptions()
public void readFromByteBuf(net.minecraft.network.PacketBuffer buf)
public void writeToByteBuf(net.minecraft.network.PacketBuffer buf)