public class GuiIconButton
extends net.minecraft.client.gui.GuiButton
IDrawable instead of a string label.| Constructor and Description |
|---|
GuiIconButton(int buttonId,
int x,
int y,
int widthIn,
int heightIn,
IDrawable icon) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawButton(net.minecraft.client.Minecraft mc,
int mouseX,
int mouseY) |
drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidthpublic GuiIconButton(int buttonId,
int x,
int y,
int widthIn,
int heightIn,
IDrawable icon)