Class RecipeGroupButtonWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ToggleButtonWidget
net.minecraft.client.gui.screen.recipebook.RecipeGroupButtonWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,Selectable,Widget
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidgetintermediary net/minecraft/class_512official gdr
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate static final floatprivate final RecipeBookWidget.Tabprivate static final ButtonTexturesFields inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
textures, toggledFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForNewRecipes(ClientRecipeBook recipeBook, boolean filteringCraftable) booleanhasKnownRecipes(ClientRecipeBook recipeBook) private voidrenderIcons(DrawContext context) voidrenderWidget(DrawContext context, int mouseX, int mouseY, float deltaTicks) Methods inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
appendClickableNarrations, isToggled, setTextures, setToggledMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, getBorder, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
TEXTURES
- Mappings:
Namespace Name Mixin selector named TEXTURESLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;intermediary field_45554Lnet/minecraft/class_512;field_45554:Lnet/minecraft/class_8666;official cLgdr;c:Lfvl;
-
field_32412
private static final float field_32412- See Also:
- Mappings:
Namespace Name Mixin selector named field_32412Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_32412:Fintermediary field_32412Lnet/minecraft/class_512;field_32412:Fofficial eLgdr;e:F
-
tab
- Mappings:
Namespace Name Mixin selector named tabLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;tab:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;intermediary field_54833Lnet/minecraft/class_512;field_54833:Lnet/minecraft/class_507$class_10329;official dLgdr;d:Lgdp$a;
-
bounce
private float bounce- Mappings:
Namespace Name Mixin selector named bounceLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;bounce:Fintermediary field_3122Lnet/minecraft/class_512;field_3122:Fofficial fLgdr;f:F
-
-
Constructor Details
-
RecipeGroupButtonWidget
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;<init>(Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;)Vintermediary <init>Lnet/minecraft/class_512;<init>(Lnet/minecraft/class_507$class_10329;)Vofficial <init>Lgdr;<init>(Lgdp$a;)V
-
-
Method Details
-
checkForNewRecipes
- Mappings:
Namespace Name Mixin selector named checkForNewRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;checkForNewRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;Z)Vintermediary method_2622Lnet/minecraft/class_512;method_2622(Lnet/minecraft/class_299;Z)Vofficial aLgdr;a(Lfqb;Z)V
-
renderWidget
- Overrides:
renderWidgetin classToggleButtonWidget- Mappings:
Namespace Name Mixin selector named renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vofficial bLftw;b(Lftk;IIF)V
-
renderIcons
- Mappings:
Namespace Name Mixin selector named renderIconsLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_2621Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_332;)Vofficial aLgdr;a(Lftk;)V
-
getCategory
- Mappings:
Namespace Name Mixin selector named getCategoryLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;getCategory()Lnet/minecraft/recipe/book/RecipeBookGroup;intermediary method_2623Lnet/minecraft/class_512;method_2623()Lnet/minecraft/class_10287;official bLgdr;b()Ldet;
-
hasKnownRecipes
- Mappings:
Namespace Name Mixin selector named hasKnownRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;hasKnownRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;)Zintermediary method_2624Lnet/minecraft/class_512;method_2624(Lnet/minecraft/class_299;)Zofficial aLgdr;a(Lfqb;)Z
-