public class RecipeWidget extends Widget
active, alpha, height, isHovered, nextNarration, packedFGColor, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
RecipeWidget() |
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(Screen p_191772_1_) |
int |
getWidth() |
boolean |
isOnlyOption() |
protected boolean |
isValidClickButton(int p_isValidClickButton_1_) |
void |
renderButton(int p_renderButton_1_,
int p_renderButton_2_,
float p_renderButton_3_) |
void |
setPosition(int p_191770_1_,
int p_191770_2_) |
changeFocus, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getYImage, isFocused, isHovered, isMouseOver, mouseClicked, mouseDragged, mouseReleased, narrate, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyPressed, keyReleased, mouseMoved, 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 renderButton(int p_renderButton_1_, int p_renderButton_2_, float p_renderButton_3_)
renderButton
in class Widget
public boolean isOnlyOption()
public IRecipe<?> getRecipe()
public java.util.List<java.lang.String> getToolTipText(Screen p_191772_1_)
protected boolean isValidClickButton(int p_isValidClickButton_1_)
isValidClickButton
in class Widget