public class TrashCanButton extends IndexedButton
idNO_TOOLTIP, onPress, onTooltip| Constructor and Description |
|---|
TrashCanButton(PCScreen parent,
int buttonId,
int x,
int y,
net.minecraft.client.gui.widget.button.Button.IPressable action) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
getID, setMessagekeyPressed, onClickchangeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLinepublic TrashCanButton(PCScreen parent, int buttonId, int x, int y, net.minecraft.client.gui.widget.button.Button.IPressable action)
public boolean mouseClicked(double mouseX,
double mouseY,
int button)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in class net.minecraft.client.gui.widget.Widgetpublic void renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
renderButton in class net.minecraft.client.gui.widget.button.Button