public class RecipeWidget extends Widget
active, alpha, height, isHovered, nextNarration, packedFGColor, visible, WIDGETS_LOCATION, width, x, yBACKGROUND_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, setWidthblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyPressed, keyReleased, mouseMoved, mouseScrolledpublic 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 Widgetpublic 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