Class QuestElement
java.lang.Object
com.pixelmonmod.pixelmon.quests.editor.QuestElement
-
Constructor Summary
ConstructorDescriptionQuestElement
(QuestElementType type, String identifier, boolean unused) QuestElement
(QuestElementType type, String identifier, QuestElementArgument... args) QuestElement
(QuestElementType type, String identifier, String name, QuestElementArgument... args) QuestElement
(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
draw
(net.minecraft.client.gui.GuiGraphics matrix, net.minecraft.client.Minecraft mc, int x, int y, int w, int h) void
duplicate
(QuestElement element) getArgs()
getExtra()
getName()
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.FriendlyByteBuf buf) void
void
updateValidity
(TextField field, QuestElementArgument arg) void
writeToByteBuf
(net.minecraft.network.FriendlyByteBuf buf)
-
Constructor Details
-
QuestElement
-
QuestElement
-
QuestElement
public QuestElement(QuestElementType type, String identifier, String name, QuestElementArgument... args) -
QuestElement
public QuestElement(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
initialize
public void initialize(net.minecraft.client.Minecraft mc, int x, int y, int w, int h) -
draw
public void draw(net.minecraft.client.gui.GuiGraphics matrix, net.minecraft.client.Minecraft mc, int x, int y, int w, int h) -
onClick
public void onClick(double mouseX, double mouseY, int mouseButton) -
onType
public void onType(char c, int i) -
updateValidity
-
copy
-
duplicate
-
create
-
setExtra
-
getExtra
-
getType
-
getName
-
getIdentifier
-
getArgs
-
build
-
readFromByteBuf
public void readFromByteBuf(net.minecraft.network.FriendlyByteBuf buf) -
writeToByteBuf
public void writeToByteBuf(net.minecraft.network.FriendlyByteBuf buf)
-