public class InvisibleButtonWithTooltip
extends net.minecraft.client.gui.widget.button.Button
NO_TOOLTIP, onPress, onTooltip
Constructor and Description |
---|
InvisibleButtonWithTooltip(int xPos,
int yPos,
int width,
int height,
net.minecraft.util.text.ITextComponent name,
net.minecraft.client.gui.widget.button.Button.IPressable clickAction) |
InvisibleButtonWithTooltip(int xPos,
int yPos,
int width,
int height,
net.minecraft.util.text.ITextComponent name,
net.minecraft.client.gui.widget.button.Button.IPressable clickAction,
net.minecraft.client.gui.widget.button.Button.ITooltip tooltipRenderer) |
InvisibleButtonWithTooltip(int xPos,
int yPos,
int width,
int height,
net.minecraft.util.text.ITextComponent name,
net.minecraft.client.gui.widget.button.Button.IPressable clickAction,
net.minecraft.client.gui.widget.button.Button.ITooltip tooltipRenderer,
java.util.function.Predicate<java.lang.Integer> predicate,
int startSlot) |
Modifier and Type | Method and Description |
---|---|
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
void |
renderToolTip(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY) |
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 InvisibleButtonWithTooltip(int xPos, int yPos, int width, int height, net.minecraft.util.text.ITextComponent name, net.minecraft.client.gui.widget.button.Button.IPressable clickAction)
public InvisibleButtonWithTooltip(int xPos, int yPos, int width, int height, net.minecraft.util.text.ITextComponent name, net.minecraft.client.gui.widget.button.Button.IPressable clickAction, net.minecraft.client.gui.widget.button.Button.ITooltip tooltipRenderer)
public InvisibleButtonWithTooltip(int xPos, int yPos, int width, int height, net.minecraft.util.text.ITextComponent name, net.minecraft.client.gui.widget.button.Button.IPressable clickAction, net.minecraft.client.gui.widget.button.Button.ITooltip tooltipRenderer, java.util.function.Predicate<java.lang.Integer> predicate, int startSlot)
public void renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
renderButton
in class net.minecraft.client.gui.widget.button.Button
public void renderToolTip(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY)
renderToolTip
in class net.minecraft.client.gui.widget.button.Button