public class IndexedButton
extends net.minecraft.client.gui.widget.button.Button
Modifier and Type | Field and Description |
---|---|
int |
id |
NO_TOOLTIP, onPress, onTooltip
Constructor and Description |
---|
IndexedButton(int id,
int x,
int y,
int width,
int height,
net.minecraft.util.text.ITextComponent title,
net.minecraft.client.gui.widget.button.Button.IPressable pressedAction) |
IndexedButton(int id,
int x,
int y,
int width,
int height,
net.minecraft.util.text.ITextComponent title,
net.minecraft.client.gui.widget.button.Button.IPressable pressedAction,
net.minecraft.client.gui.widget.button.Button.ITooltip onTooltip) |
IndexedButton(int id,
int x,
int y,
int width,
int height,
java.lang.String title,
net.minecraft.client.gui.widget.button.Button.IPressable pressedAction) |
Modifier and Type | Method and Description |
---|---|
int |
getID() |
void |
setMessage(java.lang.String message) |
onPress, renderButton, renderToolTip
keyPressed, onClick
changeFocus, 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, setWidth
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
public IndexedButton(int id, int x, int y, int width, int height, java.lang.String title, net.minecraft.client.gui.widget.button.Button.IPressable pressedAction)
public IndexedButton(int id, int x, int y, int width, int height, net.minecraft.util.text.ITextComponent title, net.minecraft.client.gui.widget.button.Button.IPressable pressedAction)
public IndexedButton(int id, int x, int y, int width, int height, net.minecraft.util.text.ITextComponent title, net.minecraft.client.gui.widget.button.Button.IPressable pressedAction, net.minecraft.client.gui.widget.button.Button.ITooltip onTooltip)