Class RecipeBookWidget<T extends AbstractRecipeScreenHandler>

java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget<T>
All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable
Direct Known Subclasses:
AbstractCraftingRecipeBookWidget, AbstractFurnaceRecipeBookWidget

@Environment(CLIENT) public abstract class RecipeBookWidget<T extends AbstractRecipeScreenHandler> extends Object implements Drawable, Element, Selectable
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/recipebook/RecipeBookWidget
intermediary net/minecraft/class_507
official gdp
  • Field Details Link icon

    • BUTTON_TEXTURES Link icon

      public static final ButtonTextures BUTTON_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named BUTTON_TEXTURES Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
      intermediary field_45550 Lnet/minecraft/class_507;field_45550:Lnet/minecraft/class_8666;
      official a Lgdp;a:Lfvl;
    • TEXTURE Link icon

      protected static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named TEXTURE Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_3097 Lnet/minecraft/class_507;field_3097:Lnet/minecraft/class_2960;
      official b Lgdp;b:Lalr;
    • field_52839 Link icon

      private static final int field_52839
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52839 Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_52839:I
      intermediary field_52839 Lnet/minecraft/class_507;field_52839:I
      official h Lgdp;h:I
    • field_52840 Link icon

      private static final int field_52840
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52840 Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_52840:I
      intermediary field_52840 Lnet/minecraft/class_507;field_52840:I
      official i Lgdp;i:I
    • SEARCH_HINT_TEXT Link icon

      private static final Text SEARCH_HINT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SEARCH_HINT_TEXT Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;SEARCH_HINT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_25711 Lnet/minecraft/class_507;field_25711:Lnet/minecraft/class_2561;
      official j Lgdp;j:Lxg;
    • field_32408 Link icon

      public static final int field_32408
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32408 Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32408:I
      intermediary field_32408 Lnet/minecraft/class_507;field_32408:I
      official c Lgdp;c:I
    • field_32409 Link icon

      public static final int field_32409
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32409 Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32409:I
      intermediary field_32409 Lnet/minecraft/class_507;field_32409:I
      official d Lgdp;d:I
    • field_32410 Link icon

      private static final int field_32410
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32410 Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_32410:I
      intermediary field_32410 Lnet/minecraft/class_507;field_32410:I
      official k Lgdp;k:I
    • field_54389 Link icon

      private static final int field_54389
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54389 Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_54389:I
      intermediary field_54389 Lnet/minecraft/class_507;field_54389:I
      official l Lgdp;l:I
    • TOGGLE_ALL_RECIPES_TEXT Link icon

      private static final Text TOGGLE_ALL_RECIPES_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TOGGLE_ALL_RECIPES_TEXT Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;TOGGLE_ALL_RECIPES_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26594 Lnet/minecraft/class_507;field_26594:Lnet/minecraft/class_2561;
      official m Lgdp;m:Lxg;
    • field_52841 Link icon

      private static final int field_52841
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52841 Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;field_52841:I
      intermediary field_52841 Lnet/minecraft/class_507;field_52841:I
      official n Lgdp;n:I
    • leftOffset Link icon

      private int leftOffset
      Mappings:
      Namespace Name Mixin selector
      named leftOffset Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;leftOffset:I
      intermediary field_3102 Lnet/minecraft/class_507;field_3102:I
      official o Lgdp;o:I
    • parentWidth Link icon

      private int parentWidth
      Mappings:
      Namespace Name Mixin selector
      named parentWidth Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentWidth:I
      intermediary field_3101 Lnet/minecraft/class_507;field_3101:I
      official p Lgdp;p:I
    • parentHeight Link icon

      private int parentHeight
      Mappings:
      Namespace Name Mixin selector
      named parentHeight Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;parentHeight:I
      intermediary field_3100 Lnet/minecraft/class_507;field_3100:I
      official q Lgdp;q:I
    • displayTime Link icon

      private float displayTime
      Mappings:
      Namespace Name Mixin selector
      named displayTime Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;displayTime:F
      intermediary field_52842 Lnet/minecraft/class_507;field_52842:F
      official r Lgdp;r:F
    • selectedRecipeId Link icon

      @Nullable private @Nullable NetworkRecipeId selectedRecipeId
      Mappings:
      Namespace Name Mixin selector
      named selectedRecipeId Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;selectedRecipeId:Lnet/minecraft/recipe/NetworkRecipeId;
      intermediary field_54830 Lnet/minecraft/class_507;field_54830:Lnet/minecraft/class_10298;
      official s Lgdp;s:Ldgj;
    • ghostRecipe Link icon

      private final GhostRecipe ghostRecipe
      Mappings:
      Namespace Name Mixin selector
      named ghostRecipe Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;ghostRecipe:Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;
      intermediary field_52843 Lnet/minecraft/class_507;field_52843:Lnet/minecraft/class_9934;
      official u Lgdp;u:Lgdn;
    • tabButtons Link icon

      private final List<RecipeGroupButtonWidget> tabButtons
      Mappings:
      Namespace Name Mixin selector
      named tabButtons Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;tabButtons:Ljava/util/List;
      intermediary field_3094 Lnet/minecraft/class_507;field_3094:Ljava/util/List;
      official v Lgdp;v:Ljava/util/List;
    • currentTab Link icon

      Mappings:
      Namespace Name Mixin selector
      named currentTab Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;currentTab:Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;
      intermediary field_3098 Lnet/minecraft/class_507;field_3098:Lnet/minecraft/class_512;
      official w Lgdp;w:Lgdr;
    • toggleCraftableButton Link icon

      protected ToggleButtonWidget toggleCraftableButton
      Mappings:
      Namespace Name Mixin selector
      named toggleCraftableButton Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleCraftableButton:Lnet/minecraft/client/gui/widget/ToggleButtonWidget;
      intermediary field_3088 Lnet/minecraft/class_507;field_3088:Lnet/minecraft/class_361;
      official e Lgdp;e:Lfve;
    • craftingScreenHandler Link icon

      protected final T extends AbstractRecipeScreenHandler craftingScreenHandler
      Mappings:
      Namespace Name Mixin selector
      named craftingScreenHandler Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
      intermediary field_3095 Lnet/minecraft/class_507;field_3095:Lnet/minecraft/class_1729;
      official f Lgdp;f:Lcxq;
    • client Link icon

      protected MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_3091 Lnet/minecraft/class_507;field_3091:Lnet/minecraft/class_310;
      official g Lgdp;g:Lfqq;
    • searchField Link icon

      @Nullable private @Nullable TextFieldWidget searchField
      Mappings:
      Namespace Name Mixin selector
      named searchField Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_3089 Lnet/minecraft/class_507;field_3089:Lnet/minecraft/class_342;
      official x Lgdp;x:Lfuh;
    • searchText Link icon

      private String searchText
      Mappings:
      Namespace Name Mixin selector
      named searchText Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchText:Ljava/lang/String;
      intermediary field_3099 Lnet/minecraft/class_507;field_3099:Ljava/lang/String;
      official y Lgdp;y:Ljava/lang/String;
    • tabs Link icon

      private final List<RecipeBookWidget.Tab> tabs
      Mappings:
      Namespace Name Mixin selector
      named tabs Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;tabs:Ljava/util/List;
      intermediary field_54831 Lnet/minecraft/class_507;field_54831:Ljava/util/List;
      official z Lgdp;z:Ljava/util/List;
    • recipeBook Link icon

      private ClientRecipeBook recipeBook
      Mappings:
      Namespace Name Mixin selector
      named recipeBook Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
      intermediary field_3096 Lnet/minecraft/class_507;field_3096:Lnet/minecraft/class_299;
      official A Lgdp;A:Lfqb;
    • recipesArea Link icon

      private final RecipeBookResults recipesArea
      Mappings:
      Namespace Name Mixin selector
      named recipesArea Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipesArea:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;
      intermediary field_3086 Lnet/minecraft/class_507;field_3086:Lnet/minecraft/class_513;
      official B Lgdp;B:Lgdq;
    • selectedRecipe Link icon

      @Nullable private @Nullable NetworkRecipeId selectedRecipe
      Mappings:
      Namespace Name Mixin selector
      named selectedRecipe Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;selectedRecipe:Lnet/minecraft/recipe/NetworkRecipeId;
      intermediary field_53832 Lnet/minecraft/class_507;field_53832:Lnet/minecraft/class_10298;
      official C Lgdp;C:Ldgj;
    • selectedRecipeResults Link icon

      @Nullable private @Nullable RecipeResultCollection selectedRecipeResults
      Mappings:
      Namespace Name Mixin selector
      named selectedRecipeResults Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;selectedRecipeResults:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
      intermediary field_53833 Lnet/minecraft/class_507;field_53833:Lnet/minecraft/class_516;
      official D Lgdp;D:Lgdt;
    • recipeFinder Link icon

      private final RecipeFinder recipeFinder
      Mappings:
      Namespace Name Mixin selector
      named recipeFinder Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;recipeFinder:Lnet/minecraft/recipe/RecipeFinder;
      intermediary field_3090 Lnet/minecraft/class_507;field_3090:Lnet/minecraft/class_9875;
      official E Lgdp;E:Lcso;
    • cachedInvChangeCount Link icon

      private int cachedInvChangeCount
      Mappings:
      Namespace Name Mixin selector
      named cachedInvChangeCount Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;cachedInvChangeCount:I
      intermediary field_3093 Lnet/minecraft/class_507;field_3093:I
      official F Lgdp;F:I
    • searching Link icon

      private boolean searching
      Mappings:
      Namespace Name Mixin selector
      named searching Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searching:Z
      intermediary field_3087 Lnet/minecraft/class_507;field_3087:Z
      official G Lgdp;G:Z
    • open Link icon

      private boolean open
      Mappings:
      Namespace Name Mixin selector
      named open Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;open:Z
      intermediary field_33679 Lnet/minecraft/class_507;field_33679:Z
      official H Lgdp;H:Z
    • narrow Link icon

      private boolean narrow
      Mappings:
      Namespace Name Mixin selector
      named narrow Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;narrow:Z
      intermediary field_34001 Lnet/minecraft/class_507;field_34001:Z
      official I Lgdp;I:Z
    • searchFieldRect Link icon

      @Nullable private @Nullable ScreenRect searchFieldRect
      Mappings:
      Namespace Name Mixin selector
      named searchFieldRect Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;searchFieldRect:Lnet/minecraft/client/gui/ScreenRect;
      intermediary field_54388 Lnet/minecraft/class_507;field_54388:Lnet/minecraft/class_8030;
      official J Lgdp;J:Lfyf;
  • Constructor Details Link icon

    • RecipeBookWidget Link icon

      public RecipeBookWidget(T craftingScreenHandler, List<RecipeBookWidget.Tab> tabs)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;<init>(Lnet/minecraft/screen/AbstractRecipeScreenHandler;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_507;<init>(Lnet/minecraft/class_1729;Ljava/util/List;)V
      official <init> Lgdp;<init>(Lcxq;Ljava/util/List;)V
  • Method Details Link icon

    • initialize Link icon

      public void initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow)
      Mappings:
      Namespace Name Mixin selector
      named initialize Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;initialize(IILnet/minecraft/client/MinecraftClient;Z)V
      intermediary method_2597 Lnet/minecraft/class_507;method_2597(IILnet/minecraft/class_310;Z)V
      official a Lgdp;a(IILfqq;Z)V
    • reset Link icon

      private void reset()
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;reset()V
      intermediary method_2579 Lnet/minecraft/class_507;method_2579()V
      official i Lgdp;i()V
    • getTop Link icon

      private int getTop()
      Mappings:
      Namespace Name Mixin selector
      named getTop Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getTop()I
      intermediary method_64366 Lnet/minecraft/class_507;method_64366()I
      official k Lgdp;k()I
    • getLeft Link icon

      private int getLeft()
      Mappings:
      Namespace Name Mixin selector
      named getLeft Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getLeft()I
      intermediary method_64367 Lnet/minecraft/class_507;method_64367()I
      official l Lgdp;l()I
    • updateTooltip Link icon

      private void updateTooltip()
      Mappings:
      Namespace Name Mixin selector
      named updateTooltip Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;updateTooltip()V
      intermediary method_47429 Lnet/minecraft/class_507;method_47429()V
      official m Lgdp;m()V
    • setBookButtonTexture Link icon

      protected abstract void setBookButtonTexture()
      Mappings:
      Namespace Name Mixin selector
      named setBookButtonTexture Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setBookButtonTexture()V
      intermediary method_2585 Lnet/minecraft/class_507;method_2585()V
      official a Lgdp;a()V
    • findLeftEdge Link icon

      public int findLeftEdge(int width, int backgroundWidth)
      Mappings:
      Namespace Name Mixin selector
      named findLeftEdge Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;findLeftEdge(II)I
      intermediary method_2595 Lnet/minecraft/class_507;method_2595(II)I
      official a Lgdp;a(II)I
    • toggleOpen Link icon

      public void toggleOpen()
      Mappings:
      Namespace Name Mixin selector
      named toggleOpen Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleOpen()V
      intermediary method_2591 Lnet/minecraft/class_507;method_2591()V
      official c Lgdp;c()V
    • isOpen Link icon

      public boolean isOpen()
      Mappings:
      Namespace Name Mixin selector
      named isOpen Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isOpen()Z
      intermediary method_2605 Lnet/minecraft/class_507;method_2605()Z
      official d Lgdp;d()Z
    • isGuiOpen Link icon

      private boolean isGuiOpen()
      Mappings:
      Namespace Name Mixin selector
      named isGuiOpen Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isGuiOpen()Z
      intermediary method_36485 Lnet/minecraft/class_507;method_36485()Z
      official n Lgdp;n()Z
    • setOpen Link icon

      protected void setOpen(boolean opened)
      Mappings:
      Namespace Name Mixin selector
      named setOpen Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setOpen(Z)V
      intermediary method_2593 Lnet/minecraft/class_507;method_2593(Z)V
      official b Lgdp;b(Z)V
    • isValid Link icon

      protected abstract boolean isValid(Slot slot)
      Mappings:
      Namespace Name Mixin selector
      named isValid Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isValid(Lnet/minecraft/screen/slot/Slot;)Z
      intermediary method_62023 Lnet/minecraft/class_507;method_62023(Lnet/minecraft/class_1735;)Z
      official a Lgdp;a(Lcxz;)Z
    • onMouseClick Link icon

      public void onMouseClick(@Nullable @Nullable Slot slot)
      Mappings:
      Namespace Name Mixin selector
      named onMouseClick Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;onMouseClick(Lnet/minecraft/screen/slot/Slot;)V
      intermediary method_62044 Lnet/minecraft/class_507;method_62044(Lnet/minecraft/class_1735;)V
      official b Lgdp;b(Lcxz;)V
    • populateAllRecipes Link icon

      private void populateAllRecipes()
      Mappings:
      Namespace Name Mixin selector
      named populateAllRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;populateAllRecipes()V
      intermediary method_65072 Lnet/minecraft/class_507;method_65072()V
      official o Lgdp;o()V
    • populateRecipes Link icon

      protected abstract void populateRecipes(RecipeResultCollection recipeResultCollection, RecipeFinder recipeFinder)
      Mappings:
      Namespace Name Mixin selector
      named populateRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;populateRecipes(Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;Lnet/minecraft/recipe/RecipeFinder;)V
      intermediary method_62024 Lnet/minecraft/class_507;method_62024(Lnet/minecraft/class_516;Lnet/minecraft/class_9875;)V
      official a Lgdp;a(Lgdt;Lcso;)V
    • refreshResults Link icon

      private void refreshResults(boolean resetCurrentPage, boolean filteringCraftable)
      Mappings:
      Namespace Name Mixin selector
      named refreshResults Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshResults(ZZ)V
      intermediary method_2603 Lnet/minecraft/class_507;method_2603(ZZ)V
      official a Lgdp;a(ZZ)V
    • refreshTabButtons Link icon

      private void refreshTabButtons(boolean filteringCraftable)
      Mappings:
      Namespace Name Mixin selector
      named refreshTabButtons Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshTabButtons(Z)V
      intermediary method_2606 Lnet/minecraft/class_507;method_2606(Z)V
      official c Lgdp;c(Z)V
    • update Link icon

      public void update()
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;update()V
      intermediary method_2590 Lnet/minecraft/class_507;method_2590()V
      official e Lgdp;e()V
    • refreshInputs Link icon

      private void refreshInputs()
      Mappings:
      Namespace Name Mixin selector
      named refreshInputs Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshInputs()V
      intermediary method_2587 Lnet/minecraft/class_507;method_2587()V
      official p Lgdp;p()V
    • isFilteringCraftable Link icon

      private boolean isFilteringCraftable()
      Mappings:
      Namespace Name Mixin selector
      named isFilteringCraftable Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isFilteringCraftable()Z
      intermediary method_62045 Lnet/minecraft/class_507;method_62045()Z
      official q Lgdp;q()Z
    • render Link icon

      public void render(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Specified by:
      render in interface Drawable
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfvb;a(Lftk;IIF)V
    • drawTooltip Link icon

      public void drawTooltip(DrawContext context, int x, int y, @Nullable @Nullable Slot slot)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawTooltip(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/screen/slot/Slot;)V
      intermediary method_2601 Lnet/minecraft/class_507;method_2601(Lnet/minecraft/class_332;IILnet/minecraft/class_1735;)V
      official a Lgdp;a(Lftk;IILcxz;)V
    • getToggleCraftableButtonText Link icon

      protected abstract Text getToggleCraftableButtonText()
      Mappings:
      Namespace Name Mixin selector
      named getToggleCraftableButtonText Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getToggleCraftableButtonText()Lnet/minecraft/text/Text;
      intermediary method_17064 Lnet/minecraft/class_507;method_17064()Lnet/minecraft/class_2561;
      official b Lgdp;b()Lxg;
    • drawGhostSlots Link icon

      public void drawGhostSlots(DrawContext context, boolean resultHasPadding)
      Mappings:
      Namespace Name Mixin selector
      named drawGhostSlots Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;drawGhostSlots(Lnet/minecraft/client/gui/DrawContext;Z)V
      intermediary method_2581 Lnet/minecraft/class_507;method_2581(Lnet/minecraft/class_332;Z)V
      official a Lgdp;a(Lftk;Z)V
    • mouseClicked Link icon

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseClicked in interface Element
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      official a Lfvv;a(DDI)Z
    • select Link icon

      private boolean select(RecipeResultCollection results, NetworkRecipeId recipeId)
      Mappings:
      Namespace Name Mixin selector
      named select Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;select(Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;Lnet/minecraft/recipe/NetworkRecipeId;)Z
      intermediary method_62889 Lnet/minecraft/class_507;method_62889(Lnet/minecraft/class_516;Lnet/minecraft/class_10298;)Z
      official a Lgdp;a(Lgdt;Ldgj;)Z
    • toggleFilteringCraftable Link icon

      private boolean toggleFilteringCraftable()
      Mappings:
      Namespace Name Mixin selector
      named toggleFilteringCraftable Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;toggleFilteringCraftable()Z
      intermediary method_2589 Lnet/minecraft/class_507;method_2589()Z
      official r Lgdp;r()Z
    • isClickOutsideBounds Link icon

      public boolean isClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight, int button)
      Mappings:
      Namespace Name Mixin selector
      named isClickOutsideBounds Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isClickOutsideBounds(DDIIIII)Z
      intermediary method_2598 Lnet/minecraft/class_507;method_2598(DDIIIII)Z
      official a Lgdp;a(DDIIIII)Z
    • keyPressed Link icon

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      official a Lfvv;a(III)Z
    • keyReleased Link icon

      public boolean keyReleased(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyReleased in interface Element
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyReleased Lnet/minecraft/client/gui/Element;keyReleased(III)Z
      intermediary method_16803 Lnet/minecraft/class_364;method_16803(III)Z
      official c Lfvv;c(III)Z
    • charTyped Link icon

      public boolean charTyped(char chr, int modifiers)
      Callback for when a character input has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      charTyped in interface Element
      Parameters:
      chr - the captured character
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named charTyped Lnet/minecraft/client/gui/Element;charTyped(CI)Z
      intermediary method_25400 Lnet/minecraft/class_364;method_25400(CI)Z
      official a Lfvv;a(CI)Z
    • isMouseOver Link icon

      public boolean isMouseOver(double mouseX, double mouseY)
      Checks if the mouse position is within the bound of the element.
      Specified by:
      isMouseOver in interface Element
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      Returns:
      true if the mouse is within the bound of the element, otherwise false
      Mappings:
      Namespace Name Mixin selector
      named isMouseOver Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z
      intermediary method_25405 Lnet/minecraft/class_364;method_25405(DD)Z
      official a_ Lfvv;a_(DD)Z
    • setFocused Link icon

      public void setFocused(boolean focused)
      Specified by:
      setFocused in interface Element
      Mappings:
      Namespace Name Mixin selector
      named setFocused Lnet/minecraft/client/gui/Element;setFocused(Z)V
      intermediary method_25365 Lnet/minecraft/class_364;method_25365(Z)V
      official a Lfvv;a(Z)V
    • isFocused Link icon

      public boolean isFocused()
      Specified by:
      isFocused in interface Element
      Mappings:
      Namespace Name Mixin selector
      named isFocused Lnet/minecraft/client/gui/Element;isFocused()Z
      intermediary method_25370 Lnet/minecraft/class_364;method_25370()Z
      official aJ_ Lfvv;aJ_()Z
    • refreshSearchResults Link icon

      private void refreshSearchResults()
      Mappings:
      Namespace Name Mixin selector
      named refreshSearchResults Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refreshSearchResults()V
      intermediary method_2586 Lnet/minecraft/class_507;method_2586()V
      official s Lgdp;s()V
    • triggerPirateSpeakEasterEgg Link icon

      private void triggerPirateSpeakEasterEgg(String search)
      Mappings:
      Namespace Name Mixin selector
      named triggerPirateSpeakEasterEgg Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;triggerPirateSpeakEasterEgg(Ljava/lang/String;)V
      intermediary method_2576 Lnet/minecraft/class_507;method_2576(Ljava/lang/String;)V
      official a Lgdp;a(Ljava/lang/String;)V
    • isWide Link icon

      private boolean isWide()
      Mappings:
      Namespace Name Mixin selector
      named isWide Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isWide()Z
      intermediary method_2604 Lnet/minecraft/class_507;method_2604()Z
      official t Lgdp;t()Z
    • refresh Link icon

      public void refresh()
      Mappings:
      Namespace Name Mixin selector
      named refresh Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;refresh()V
      intermediary method_2592 Lnet/minecraft/class_507;method_2592()V
      official g Lgdp;g()V
    • onRecipeDisplayed Link icon

      public void onRecipeDisplayed(NetworkRecipeId recipeId)
      Mappings:
      Namespace Name Mixin selector
      named onRecipeDisplayed Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;onRecipeDisplayed(Lnet/minecraft/recipe/NetworkRecipeId;)V
      intermediary method_64876 Lnet/minecraft/class_507;method_64876(Lnet/minecraft/class_10298;)V
      official a Lgdp;a(Ldgj;)V
    • onCraftFailed Link icon

      public void onCraftFailed(RecipeDisplay display)
      Mappings:
      Namespace Name Mixin selector
      named onCraftFailed Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;onCraftFailed(Lnet/minecraft/recipe/display/RecipeDisplay;)V
      intermediary method_64875 Lnet/minecraft/class_507;method_64875(Lnet/minecraft/class_10295;)V
      official a Lgdp;a(Ldgh;)V
    • showGhostRecipe Link icon

      protected abstract void showGhostRecipe(GhostRecipe ghostRecipe, RecipeDisplay display, ContextParameterMap context)
      Mappings:
      Namespace Name Mixin selector
      named showGhostRecipe Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;showGhostRecipe(Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;Lnet/minecraft/recipe/display/RecipeDisplay;Lnet/minecraft/util/context/ContextParameterMap;)V
      intermediary method_64868 Lnet/minecraft/class_507;method_64868(Lnet/minecraft/class_9934;Lnet/minecraft/class_10295;Lnet/minecraft/class_10352;)V
      official a Lgdp;a(Lgdn;Ldgh;Lbbm;)V
    • sendBookDataPacket Link icon

      protected void sendBookDataPacket()
      Mappings:
      Namespace Name Mixin selector
      named sendBookDataPacket Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;sendBookDataPacket()V
      intermediary method_2588 Lnet/minecraft/class_507;method_2588()V
      official h Lgdp;h()V
    • getType Link icon

      public Selectable.SelectionType getType()
      Specified by:
      getType in interface Selectable
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;
      intermediary method_37018 Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;
      official w Lfxt;w()Lfxt$a;
    • appendNarrations Link icon

      public void appendNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendNarrations in interface Narratable
      Mappings:
      Namespace Name Mixin selector
      named appendNarrations Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
      intermediary method_37020 Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
      official b Lfxw;b(Lfxv;)V