public static class ChooseAttack.MoveButton
extends net.minecraft.client.gui.widget.button.Button
Modifier and Type | Field and Description |
---|---|
boolean |
hovered |
int |
id |
NO_TOOLTIP, onPress, onTooltip
Constructor and Description |
---|
MoveButton(ChooseAttack parent,
int index) |
Modifier and Type | Method and Description |
---|---|
Attack |
getAttack() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int button) |
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
void |
setHoldingAssaultVest(PixelmonClientData pig) |
void |
setIsDynamaxed(ClientBattleManager bm) |
void |
setupAttack(ClientBattleManager bm,
PixelmonClientData pig) |
void |
setWillDynamax(ClientBattleManager bm) |
void |
struggle() |
keyPressed, onClick
changeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseDragged, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
public MoveButton(ChooseAttack parent, int index)
public Attack getAttack()
public void struggle()
public void setupAttack(ClientBattleManager bm, PixelmonClientData pig)
public void setWillDynamax(ClientBattleManager bm)
public void setIsDynamaxed(ClientBattleManager bm)
public void setHoldingAssaultVest(PixelmonClientData pig)
public void renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
renderButton
in class net.minecraft.client.gui.widget.button.Button
public boolean mouseClicked(double mouseX, double mouseY, int button)
mouseClicked
in interface net.minecraft.client.gui.IGuiEventListener
mouseClicked
in class net.minecraft.client.gui.widget.Widget
public boolean mouseReleased(double mouseX, double mouseY, int button)
mouseReleased
in interface net.minecraft.client.gui.IGuiEventListener
mouseReleased
in class net.minecraft.client.gui.widget.Widget