Class RaidButton
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.raids.RaidButton
-
Constructor Summary
ConstructorDescriptionRaidButton
(double x, double y, double z, double w, double h, String text, RaidData raid, Consumer<Integer> onClick) -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(net.minecraft.client.gui.GuiGraphics matrix, double mouseX, double mouseY, float partialTicks) boolean
boolean
isWithin
(double x, double y) void
onClick
(double mouseX, double mouseY, int button) setEnabled
(boolean enabled) setVisible
(boolean visible)
-
Constructor Details
-
RaidButton
-
-
Method Details
-
draw
public void draw(net.minecraft.client.gui.GuiGraphics matrix, double mouseX, double mouseY, float partialTicks) -
isWithin
public boolean isWithin(double x, double y) -
onClick
public void onClick(double mouseX, double mouseY, int button) -
isInteractable
public boolean isInteractable() -
setVisible
-
setEnabled
-