public class PokemonMenuButton extends BattleMenuElement.MenuListButton
id
NO_TOOLTIP, onPress, onTooltip
Constructor and Description |
---|
PokemonMenuButton(int buttonId,
PixelmonClientData pig,
net.minecraft.client.gui.screen.Screen parent) |
Modifier and Type | Method and Description |
---|---|
PixelmonClientData |
getPig() |
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
mouseClicked, mouseReleased, setPosition
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 PokemonMenuButton(int buttonId, PixelmonClientData pig, net.minecraft.client.gui.screen.Screen parent)
public PixelmonClientData getPig()
public void renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
renderButton
in class BattleMenuElement.MenuListButton