public class GuiIconButtonSmall
extends net.minecraft.client.gui.widget.button.Button
IDrawable instead of a string label.NO_TOOLTIP, onPress, onTooltip| Constructor and Description |
|---|
GuiIconButtonSmall(int x,
int y,
int widthIn,
int heightIn,
IDrawable icon,
net.minecraft.client.gui.widget.button.Button.IPressable pressable) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.renderer.Rectangle2d |
getArea() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks) |
onPress, renderButton, renderToolTipkeyPressed, onClickchangeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, 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, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLinepublic GuiIconButtonSmall(int x,
int y,
int widthIn,
int heightIn,
IDrawable icon,
net.minecraft.client.gui.widget.button.Button.IPressable pressable)
public net.minecraft.client.renderer.Rectangle2d getArea()
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