class GuiRecipeOverlay.Button extends GuiButton
Modifier and Type | Field and Description |
---|---|
private boolean |
isCraftable |
private IRecipe |
recipe |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
Button(int p_i47594_2_,
int p_i47594_3_,
IRecipe p_i47594_4_,
boolean p_i47594_5_) |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(Minecraft mc,
int mouseX,
int mouseY,
float partialTicks) |
drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final IRecipe recipe
private final boolean isCraftable
public Button(int p_i47594_2_, int p_i47594_3_, IRecipe p_i47594_4_, boolean p_i47594_5_)
public void drawButton(Minecraft mc, int mouseX, int mouseY, float partialTicks)
drawButton
in class GuiButton