Class RecipeGroupButtonWidget

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

@Environment(CLIENT) public class RecipeGroupButtonWidget extends TexturedButtonWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget
intermediary net/minecraft/class_512
official gvs
  • 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 d Lgvs;d:Lgjp;
    • field_64554

      public static final int field_64554
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_64554 Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_64554:I
      intermediary field_64554 Lnet/minecraft/class_512;field_64554:I
      official b Lgvs;b:I
    • field_64555

      public static final int field_64555
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_64555 Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_64555:I
      intermediary field_64555 Lnet/minecraft/class_512;field_64555:I
      official c Lgvs;c:I
    • 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 v Lgvs;v:F
    • tab

      private final RecipeBookWidget.Tab tab
      Mappings:
      Namespace Name Mixin selector
      named tab Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;tab:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;
      intermediary field_54833 Lnet/minecraft/class_512;field_54833:Lnet/minecraft/class_507$class_10329;
      official u Lgvs;u:Lgvq$a;
    • 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 w Lgvs;w:F
    • groupFocused

      private boolean groupFocused
      Mappings:
      Namespace Name Mixin selector
      named groupFocused Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;groupFocused:Z
      intermediary field_64556 Lnet/minecraft/class_512;field_64556:Z
      official x Lgvs;x:Z
  • Constructor Details

    • RecipeGroupButtonWidget

      public RecipeGroupButtonWidget(int x, int y, RecipeBookWidget.Tab tab, ButtonWidget.PressAction onPress)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;<init>(IILnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
      intermediary <init> Lnet/minecraft/class_512;<init>(IILnet/minecraft/class_507$class_10329;Lnet/minecraft/class_4185$class_4241;)V
      official <init> Lgvs;<init>(IILgvq$a;Lghz$c;)V
  • Method Details

    • checkForNewRecipes

      public void checkForNewRecipes(ClientRecipeBook recipeBook, boolean filteringCraftable)
      Mappings:
      Namespace Name Mixin selector
      named checkForNewRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;checkForNewRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;Z)V
      intermediary method_2622 Lnet/minecraft/class_512;method_2622(Lnet/minecraft/class_299;Z)V
      official a Lgvs;a(Lgdq;Z)V
    • drawIcon

      public void drawIcon(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Overrides:
      drawIcon in class TexturedButtonWidget
      Mappings:
      Namespace Name Mixin selector
      named drawIcon Lnet/minecraft/client/gui/widget/PressableWidget;drawIcon(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_75752 Lnet/minecraft/class_4264;method_75752(Lnet/minecraft/class_332;IIF)V
      official b Lghp;b(Lghm;IIF)V
    • setCursor

      protected void setCursor(DrawContext context)
      Overrides:
      setCursor in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named setCursor Lnet/minecraft/client/gui/widget/ClickableWidget;setCursor(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_76256 Lnet/minecraft/class_339;method_76256(Lnet/minecraft/class_332;)V
      official d Lghx;d(Lghm;)V
    • renderIcons

      private void renderIcons(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named renderIcons Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_2621 Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_332;)V
      official b Lgvs;b(Lghm;)V
    • getCategory

      public RecipeBookGroup getCategory()
      Mappings:
      Namespace Name Mixin selector
      named getCategory Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;getCategory()Lnet/minecraft/recipe/book/RecipeBookGroup;
      intermediary method_2623 Lnet/minecraft/class_512;method_2623()Lnet/minecraft/class_10287;
      official a Lgvs;a()Ldpg;
    • 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 Lgvs;a(Lgdq;)Z
    • focus

      public void focus()
      Mappings:
      Namespace Name Mixin selector
      named focus Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;focus()V
      intermediary method_76637 Lnet/minecraft/class_512;method_76637()V
      official d Lgvs;d()V
    • unfocus

      public void unfocus()
      Mappings:
      Namespace Name Mixin selector
      named unfocus Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;unfocus()V
      intermediary method_76638 Lnet/minecraft/class_512;method_76638()V
      official e Lgvs;e()V