Class RecipeGroupButtonWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class RecipeGroupButtonWidget extends ToggleButtonWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget
intermediary net/minecraft/class_512
official fqt
  • Field Details

    • TEXTURES

      private static final ButtonTextures TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named TEXTURES Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
      intermediary field_45554 Lnet/minecraft/class_512;field_45554:Lnet/minecraft/class_8666;
      official c Lfqt;c:Lfis;
    • field_32412

      private static final float field_32412
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32412 Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_32412:F
      intermediary field_32412 Lnet/minecraft/class_512;field_32412:F
      official e Lfqt;e:F
    • category

      private final RecipeBookGroup category
      Mappings:
      Namespace Name Mixin selector
      named category Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;category:Lnet/minecraft/client/recipebook/RecipeBookGroup;
      intermediary field_3123 Lnet/minecraft/class_512;field_3123:Lnet/minecraft/class_314;
      official d Lfqt;d:Lffo;
    • bounce

      private float bounce
      Mappings:
      Namespace Name Mixin selector
      named bounce Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;bounce:F
      intermediary field_3122 Lnet/minecraft/class_512;field_3122:F
      official f Lfqt;f:F
  • Constructor Details

    • RecipeGroupButtonWidget

      public RecipeGroupButtonWidget(RecipeBookGroup category)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;<init>(Lnet/minecraft/client/recipebook/RecipeBookGroup;)V
      intermediary <init> Lnet/minecraft/class_512;<init>(Lnet/minecraft/class_314;)V
      official <init> Lfqt;<init>(Lffo;)V
  • Method Details

    • checkForNewRecipes

      public void checkForNewRecipes(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named checkForNewRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;checkForNewRecipes(Lnet/minecraft/client/MinecraftClient;)V
      intermediary method_2622 Lnet/minecraft/class_512;method_2622(Lnet/minecraft/class_310;)V
      official a Lfqt;a(Lffg;)V
    • renderWidget

      public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderWidget in class ToggleButtonWidget
      Mappings:
      Namespace Name Mixin selector
      named renderWidget Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      official b Lfhd;b(Lfgs;IIF)V
    • renderIcons

      private void renderIcons(DrawContext context, ItemRenderer itemRenderer)
      Mappings:
      Namespace Name Mixin selector
      named renderIcons Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/render/item/ItemRenderer;)V
      intermediary method_2621 Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_332;Lnet/minecraft/class_918;)V
      official a Lfqt;a(Lfgs;Lgjw;)V
    • getCategory

      public RecipeBookGroup getCategory()
      Mappings:
      Namespace Name Mixin selector
      named getCategory Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;getCategory()Lnet/minecraft/client/recipebook/RecipeBookGroup;
      intermediary method_2623 Lnet/minecraft/class_512;method_2623()Lnet/minecraft/class_314;
      official b Lfqt;b()Lffo;
    • hasKnownRecipes

      public boolean hasKnownRecipes(ClientRecipeBook recipeBook)
      Mappings:
      Namespace Name Mixin selector
      named hasKnownRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;hasKnownRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;)Z
      intermediary method_2624 Lnet/minecraft/class_512;method_2624(Lnet/minecraft/class_299;)Z
      official a Lfqt;a(Lfet;)Z