public class GuiIconButton
extends net.minecraft.client.gui.widget.button.Button
IDrawable instead of a string label.field_238486_s_, onPress, onTooltip| Constructor and Description |
|---|
GuiIconButton(mezz.jei.api.gui.drawable.IDrawable icon,
net.minecraft.client.gui.widget.button.Button.IPressable pressable) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks) |
void |
updateBounds(net.minecraft.client.renderer.Rectangle2d area) |
onPress, renderButton, renderToolTipkeyPressed, onClickchangeFocus, clearFGColor, clicked, getFGColor, getMessage, getNarrationMessage, getWidth_CLASH, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, func_238459_a_, getBlitOffset, hLine, setBlitOffset, vLinepublic GuiIconButton(mezz.jei.api.gui.drawable.IDrawable icon,
net.minecraft.client.gui.widget.button.Button.IPressable pressable)
public void updateBounds(net.minecraft.client.renderer.Rectangle2d area)
public void render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.widget.Widget