public static class CustomDropsScreen.ItemButton extends CustomDropsScreen.Button
Modifier and Type | Field and Description |
---|---|
int |
id |
NO_TOOLTIP, onPress, onTooltip
Constructor and Description |
---|
ItemButton(int buttonId,
int x,
int y,
int widthIn,
int heightIn,
net.minecraft.item.ItemStack stack,
net.minecraft.client.gui.widget.button.Button.IPressable action) |
Modifier and Type | Method and Description |
---|---|
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
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 ItemButton(int buttonId, int x, int y, int widthIn, int heightIn, net.minecraft.item.ItemStack stack, net.minecraft.client.gui.widget.button.Button.IPressable action)
public void renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
renderButton
in class CustomDropsScreen.Button