public static class BattleScreen.ActionButton
extends net.minecraft.client.gui.widget.button.Button
| Modifier and Type | Field and Description |
|---|---|
BattleScreen.EnumBattleButton |
button |
boolean |
hovered |
BattleScreen |
parent |
NO_TOOLTIP, onPress, onTooltip| Constructor and Description |
|---|
ActionButton(BattleScreen.EnumBattleButton button,
BattleScreen parent) |
| Modifier and Type | Method and Description |
|---|---|
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) |
keyPressed, onClickchangeFocus, 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, setWidthblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLinepublic final BattleScreen.EnumBattleButton button
public final BattleScreen parent
public boolean hovered
public ActionButton(BattleScreen.EnumBattleButton button, BattleScreen parent)
public void renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
renderButton in class net.minecraft.client.gui.widget.button.Buttonpublic boolean mouseClicked(double mouseX,
double mouseY,
int button)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in class net.minecraft.client.gui.widget.Widgetpublic boolean mouseReleased(double mouseX,
double mouseY,
int button)
mouseReleased in interface net.minecraft.client.gui.IGuiEventListenermouseReleased in class net.minecraft.client.gui.widget.Widget