public class InvisibleButton extends IndexedButton
id
NO_TOOLTIP, onPress, onTooltip
Constructor and Description |
---|
InvisibleButton(int id,
int x,
int y,
int width,
int height,
java.lang.String title,
net.minecraft.client.gui.widget.button.Button.IPressable pressedAction) |
InvisibleButton(int buttonId,
net.minecraft.client.gui.screen.Screen parent,
net.minecraft.client.gui.widget.button.Button.IPressable pressedAction) |
Modifier and Type | Method and Description |
---|---|
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack p_230431_1_,
int p_230431_2_,
int p_230431_3_,
float p_230431_4_) |
<T extends IndexedButton> |
setPosition(int x,
int y,
int width,
int height) |
getID, setMessage
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 InvisibleButton(int buttonId, net.minecraft.client.gui.screen.Screen parent, net.minecraft.client.gui.widget.button.Button.IPressable pressedAction)
public InvisibleButton(int id, int x, int y, int width, int height, java.lang.String title, net.minecraft.client.gui.widget.button.Button.IPressable pressedAction)
public <T extends IndexedButton> T setPosition(int x, int y, int width, int height)
public void renderButton(com.mojang.blaze3d.matrix.MatrixStack p_230431_1_, int p_230431_2_, int p_230431_3_, float p_230431_4_)
renderButton
in class net.minecraft.client.gui.widget.button.Button