Class CraftingRecipeBookWidget

java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget<AbstractCraftingScreenHandler>
net.minecraft.client.gui.screen.recipebook.CraftingRecipeBookWidget
All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable

@Environment(CLIENT) public class CraftingRecipeBookWidget extends RecipeBookWidget<AbstractCraftingScreenHandler>
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget
intermediary net/minecraft/class_9933
official gub
  • Field Details

    • FILTER_BUTTON_TEXTURES

      private static final ButtonTextures FILTER_BUTTON_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named FILTER_BUTTON_TEXTURES Lnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;FILTER_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
      intermediary field_52824 Lnet/minecraft/class_9933;field_52824:Lnet/minecraft/class_8666;
      official h Lgub;h:Lgig;
    • TOGGLE_CRAFTABLE_TEXT

      private static final Text TOGGLE_CRAFTABLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TOGGLE_CRAFTABLE_TEXT Lnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;TOGGLE_CRAFTABLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_52825 Lnet/minecraft/class_9933;field_52825:Lnet/minecraft/class_2561;
      official i Lgub;i:Lym;
    • TABS

      private static final List<RecipeBookWidget.Tab> TABS
      Mappings:
      Namespace Name Mixin selector
      named TABS Lnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;TABS:Ljava/util/List;
      intermediary field_54827 Lnet/minecraft/class_9933;field_54827:Ljava/util/List;
      official j Lgub;j:Ljava/util/List;
  • Constructor Details

    • CraftingRecipeBookWidget

      public CraftingRecipeBookWidget(AbstractCraftingScreenHandler screenHandler)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;<init>(Lnet/minecraft/screen/AbstractCraftingScreenHandler;)V
      intermediary <init> Lnet/minecraft/class_9933;<init>(Lnet/minecraft/class_9884;)V
      official <init> Lgub;<init>(Ldfx;)V
  • Method Details

    • isCraftingSlot

      protected boolean isCraftingSlot(Slot slot)
      Returns whether a slot is involved in crafting for this recipe book widget's recipes.
      Specified by:
      isCraftingSlot in class RecipeBookWidget<AbstractCraftingScreenHandler>
      Returns:
      whether a slot is involved in crafting for this recipe book widget's recipes
      Mappings:
      Namespace Name Mixin selector
      named isCraftingSlot Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isCraftingSlot(Lnet/minecraft/screen/slot/Slot;)Z
      intermediary method_62023 Lnet/minecraft/class_507;method_62023(Lnet/minecraft/class_1735;)Z
      official a Lguf;a(Ldhu;)Z
    • canDisplay

      private boolean canDisplay(RecipeDisplay display)
      Mappings:
      Namespace Name Mixin selector
      named canDisplay Lnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;canDisplay(Lnet/minecraft/recipe/display/RecipeDisplay;)Z
      intermediary method_64870 Lnet/minecraft/class_9933;method_64870(Lnet/minecraft/class_10295;)Z
      official b Lgub;b(Ldqj;)Z
    • showGhostRecipe

      protected void showGhostRecipe(GhostRecipe ghostRecipe, RecipeDisplay display, ContextParameterMap context)
      Specified by:
      showGhostRecipe in class RecipeBookWidget<AbstractCraftingScreenHandler>
      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 Lguf;a(Lgud;Ldqj;Lbhv;)V
    • setBookButtonTexture

      protected void setBookButtonTexture()
      Specified by:
      setBookButtonTexture in class RecipeBookWidget<AbstractCraftingScreenHandler>
      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 Lguf;a()V
    • getToggleCraftableButtonText

      protected Text getToggleCraftableButtonText()
      Specified by:
      getToggleCraftableButtonText in class RecipeBookWidget<AbstractCraftingScreenHandler>
      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 d Lguf;d()Lym;
    • populateRecipes

      protected void populateRecipes(RecipeResultCollection recipeResultCollection, RecipeFinder recipeFinder)
      Specified by:
      populateRecipes in class RecipeBookWidget<AbstractCraftingScreenHandler>
      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 Lguf;a(Lguj;Ldcj;)V