public class GuiButtonRecipe extends GuiButton
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColor, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiButtonRecipe() |
Modifier and Type | Method and Description |
---|---|
void |
func_203400_a(RecipeList p_203400_1_,
RecipeBookPage p_203400_2_) |
RecipeList |
getList() |
IRecipe |
getRecipe() |
java.util.List<java.lang.String> |
getToolTipText(GuiScreen p_191772_1_) |
int |
getWidth() |
boolean |
isOnlyOption() |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
setPosition(int p_191770_1_,
int p_191770_2_) |
drawButtonForegroundLayer, getHoverState, isMouseOver, isPressable, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playPressSound, renderBg, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFocus, charTyped, focusChanged, keyPressed, keyReleased, mouseScrolled
public void func_203400_a(RecipeList p_203400_1_, RecipeBookPage p_203400_2_)
public RecipeList getList()
public void setPosition(int p_191770_1_, int p_191770_2_)
public void render(int mouseX, int mouseY, float partialTicks)
public boolean isOnlyOption()
public IRecipe getRecipe()
public java.util.List<java.lang.String> getToolTipText(GuiScreen p_191772_1_)
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
mouseClicked
in class GuiButton