public class ItemMenuButton extends BattleMenuElement.MenuListButton
id
NO_TOOLTIP, onPress, onTooltip
Constructor and Description |
---|
ItemMenuButton(int buttonId,
net.minecraft.item.ItemStack stack,
int count,
net.minecraft.client.gui.screen.Screen parent) |
ItemMenuButton(int buttonId,
net.minecraft.item.ItemStack stack,
net.minecraft.client.gui.screen.Screen parent) |
ItemMenuButton(int buttonId,
net.minecraft.item.ItemStack stack,
java.lang.String title,
net.minecraft.client.gui.screen.Screen parent) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.ItemStack |
getStack() |
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
mouseClicked, mouseReleased, setPosition
keyPressed, onClick
changeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseDragged, 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 ItemMenuButton(int buttonId, net.minecraft.item.ItemStack stack, net.minecraft.client.gui.screen.Screen parent)
public ItemMenuButton(int buttonId, net.minecraft.item.ItemStack stack, java.lang.String title, net.minecraft.client.gui.screen.Screen parent)
public ItemMenuButton(int buttonId, net.minecraft.item.ItemStack stack, int count, net.minecraft.client.gui.screen.Screen parent)
public net.minecraft.item.ItemStack getStack()
public void renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
renderButton
in class BattleMenuElement.MenuListButton