public static class TrainerCardScreen.ThemedButton extends IndexedButton
idNO_TOOLTIP, onPress, onTooltip| Constructor and Description |
|---|
ThemedButton(int buttonId,
EnumTrainerCardColor color,
int x,
int y,
net.minecraft.client.gui.widget.button.Button.IPressable action) |
| Modifier and Type | Method and Description |
|---|---|
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
getID, setMessagekeyPressed, onClickchangeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLinepublic ThemedButton(int buttonId,
EnumTrainerCardColor color,
int x,
int y,
net.minecraft.client.gui.widget.button.Button.IPressable action)