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 official fgrintermediary net/minecraft/class_512named net/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate final RecipeBookGroupprivate static final floatprivate 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(MinecraftClient client) booleanhasKnownRecipes(ClientRecipeBook recipeBook) private voidrenderIcons(DrawContext context, ItemRenderer itemRenderer) voidrenderWidget(DrawContext context, int mouseX, int mouseY, float delta) 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, clicked, 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, 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, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
TEXTURES
- Mappings:
Namespace Name Mixin selector official cLfgr;c:Leyt;intermediary field_45554Lnet/minecraft/class_512;field_45554:Lnet/minecraft/class_8666;named TEXTURESLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
field_32412
private static final float field_32412- See Also:
- Mappings:
Namespace Name Mixin selector official eLfgr;e:Fintermediary field_32412Lnet/minecraft/class_512;field_32412:Fnamed field_32412Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_32412:F
-
category
- Mappings:
Namespace Name Mixin selector official dLfgr;d:Levr;intermediary field_3123Lnet/minecraft/class_512;field_3123:Lnet/minecraft/class_314;named categoryLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;category:Lnet/minecraft/client/recipebook/RecipeBookGroup;
-
bounce
private float bounce- Mappings:
Namespace Name Mixin selector official fLfgr;f:Fintermediary field_3122Lnet/minecraft/class_512;field_3122:Fnamed bounceLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;bounce:F
-
-
Constructor Details
-
RecipeGroupButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>Lfgr;<init>(Levr;)Vintermediary <init>Lnet/minecraft/class_512;<init>(Lnet/minecraft/class_314;)Vnamed <init>Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;<init>(Lnet/minecraft/client/recipebook/RecipeBookGroup;)V
-
-
Method Details
-
checkForNewRecipes
- Mappings:
Namespace Name Mixin selector official aLfgr;a(Levi;)Vintermediary method_2622Lnet/minecraft/class_512;method_2622(Lnet/minecraft/class_310;)Vnamed checkForNewRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;checkForNewRecipes(Lnet/minecraft/client/MinecraftClient;)V
-
renderWidget
- Overrides:
renderWidgetin classToggleButtonWidget- Mappings:
Namespace Name Mixin selector official bLexe;b(Lewu;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vnamed renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
renderIcons
- Mappings:
Namespace Name Mixin selector official aLfgr;a(Lewu;Lfzl;)Vintermediary method_2621Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_332;Lnet/minecraft/class_918;)Vnamed renderIconsLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/render/item/ItemRenderer;)V
-
getCategory
- Mappings:
Namespace Name Mixin selector official bLfgr;b()Levr;intermediary method_2623Lnet/minecraft/class_512;method_2623()Lnet/minecraft/class_314;named getCategoryLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;getCategory()Lnet/minecraft/client/recipebook/RecipeBookGroup;
-
hasKnownRecipes
- Mappings:
Namespace Name Mixin selector official aLfgr;a(Leuv;)Zintermediary method_2624Lnet/minecraft/class_512;method_2624(Lnet/minecraft/class_299;)Znamed hasKnownRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;hasKnownRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;)Z
-