public class RecipeTabToggleWidget extends ToggleWidget
Modifier and Type | Field and Description |
---|---|
private float |
animationTime |
private RecipeBookCategories |
category |
resourceLocation, stateTriggered, xDiffTex, xTexStart, yDiffTex, yTexStart
active, alpha, height, isHovered, nextNarration, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
RecipeTabToggleWidget(RecipeBookCategories p_i51075_1_) |
Modifier and Type | Method and Description |
---|---|
boolean |
func_199500_a(ClientRecipeBook p_199500_1_) |
RecipeBookCategories |
func_201503_d() |
void |
renderButton(int p_renderButton_1_,
int p_renderButton_2_,
float p_renderButton_3_) |
private void |
renderIcon(ItemRenderer p_193920_1_) |
void |
startAnimation(Minecraft p_193918_1_) |
initTextureValues, isStateTriggered, setPosition, setStateTriggered
changeFocus, clearFGColor, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolled
private final RecipeBookCategories category
private float animationTime
public RecipeTabToggleWidget(RecipeBookCategories p_i51075_1_)
public void startAnimation(Minecraft p_193918_1_)
public void renderButton(int p_renderButton_1_, int p_renderButton_2_, float p_renderButton_3_)
renderButton
in class ToggleWidget
private void renderIcon(ItemRenderer p_193920_1_)
public RecipeBookCategories func_201503_d()
public boolean func_199500_a(ClientRecipeBook p_199500_1_)