public class GuiButtonRecipe extends GuiButton
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiButtonRecipe() |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(Minecraft mc,
int mouseX,
int mouseY,
float partialTicks) |
int |
getButtonWidth() |
RecipeList |
getList() |
IRecipe |
getRecipe() |
java.util.List<java.lang.String> |
getToolTipText(GuiScreen p_191772_1_) |
void |
init(RecipeList p_193928_1_,
RecipeBookPage p_193928_2_,
RecipeBook p_193928_3_) |
boolean |
isOnlyOption() |
void |
setPosition(int p_191770_1_,
int p_191770_2_) |
drawButtonForegroundLayer, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public void init(RecipeList p_193928_1_, RecipeBookPage p_193928_2_, RecipeBook p_193928_3_)
public RecipeList getList()
public void setPosition(int p_191770_1_, int p_191770_2_)
public void drawButton(Minecraft mc, int mouseX, int mouseY, float partialTicks)
drawButton
in class GuiButton
public boolean isOnlyOption()
public IRecipe getRecipe()
public java.util.List<java.lang.String> getToolTipText(GuiScreen p_191772_1_)
public int getButtonWidth()
getButtonWidth
in class GuiButton