public class QuestElement
extends java.lang.Object
Constructor and Description |
---|
QuestElement(net.minecraft.network.PacketBuffer buf) |
QuestElement(QuestElementType type,
java.lang.String identifier,
boolean unused) |
QuestElement(QuestElementType type,
java.lang.String identifier,
QuestElementArgument... args) |
QuestElement(QuestElementType type,
java.lang.String identifier,
java.lang.String name,
QuestElementArgument... args) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
build(Quest quest,
Stage stage,
int i) |
QuestElement |
copy() |
QuestElement |
create(Quest quest,
java.lang.String args) |
void |
draw(com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.Minecraft mc,
int x,
int y,
int w,
int h) |
void |
duplicate(QuestElement element) |
QuestElementArgument[] |
getArgs() |
java.lang.String |
getExtra() |
java.lang.String |
getIdentifier() |
java.lang.String |
getName() |
QuestElementType |
getType() |
void |
initialize(net.minecraft.client.Minecraft mc,
int x,
int y,
int w,
int h) |
void |
onClick(double mouseX,
double mouseY,
int mouseButton) |
void |
onType(char c,
int i) |
void |
readFromByteBuf(net.minecraft.network.PacketBuffer buf) |
void |
setExtra(java.lang.String extra) |
void |
updateValidity(TextField field,
QuestElementArgument arg) |
void |
writeToByteBuf(net.minecraft.network.PacketBuffer buf) |
public QuestElement(QuestElementType type, java.lang.String identifier, boolean unused)
public QuestElement(QuestElementType type, java.lang.String identifier, QuestElementArgument... args)
public QuestElement(QuestElementType type, java.lang.String identifier, java.lang.String name, QuestElementArgument... args)
public QuestElement(net.minecraft.network.PacketBuffer buf)
public void initialize(net.minecraft.client.Minecraft mc, int x, int y, int w, int h)
public void draw(com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.Minecraft mc, int x, int y, int w, int h)
public void onClick(double mouseX, double mouseY, int mouseButton)
public void onType(char c, int i)
public void updateValidity(TextField field, QuestElementArgument arg)
public QuestElement copy()
public void duplicate(QuestElement element)
public QuestElement create(Quest quest, java.lang.String args)
public void setExtra(java.lang.String extra)
public java.lang.String getExtra()
public QuestElementType getType()
public java.lang.String getName()
public java.lang.String getIdentifier()
public QuestElementArgument[] getArgs()
public void readFromByteBuf(net.minecraft.network.PacketBuffer buf)
public void writeToByteBuf(net.minecraft.network.PacketBuffer buf)