Class RecipeResultCollection

java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeResultCollection

@Environment(CLIENT) public class RecipeResultCollection extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/recipebook/RecipeResultCollection
intermediary net/minecraft/class_516
official fqv
  • Field Details

    • registryManager

      private final DynamicRegistryManager registryManager
      Mappings:
      Namespace Name Mixin selector
      named registryManager Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;registryManager:Lnet/minecraft/registry/DynamicRegistryManager;
      intermediary field_42069 Lnet/minecraft/class_516;field_42069:Lnet/minecraft/class_5455;
      official a Lfqv;a:Ljw;
    • recipes

      private final List<RecipeEntry<?>> recipes
      Mappings:
      Namespace Name Mixin selector
      named recipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;recipes:Ljava/util/List;
      intermediary field_3144 Lnet/minecraft/class_516;field_3144:Ljava/util/List;
      official b Lfqv;b:Ljava/util/List;
    • singleOutput

      private final boolean singleOutput
      Mappings:
      Namespace Name Mixin selector
      named singleOutput Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;singleOutput:Z
      intermediary field_3148 Lnet/minecraft/class_516;field_3148:Z
      official c Lfqv;c:Z
    • craftableRecipes

      private final Set<RecipeEntry<?>> craftableRecipes
      Mappings:
      Namespace Name Mixin selector
      named craftableRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;craftableRecipes:Ljava/util/Set;
      intermediary field_3146 Lnet/minecraft/class_516;field_3146:Ljava/util/Set;
      official d Lfqv;d:Ljava/util/Set;
    • fittingRecipes

      private final Set<RecipeEntry<?>> fittingRecipes
      Mappings:
      Namespace Name Mixin selector
      named fittingRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;fittingRecipes:Ljava/util/Set;
      intermediary field_3145 Lnet/minecraft/class_516;field_3145:Ljava/util/Set;
      official e Lfqv;e:Ljava/util/Set;
    • unlockedRecipes

      private final Set<RecipeEntry<?>> unlockedRecipes
      Mappings:
      Namespace Name Mixin selector
      named unlockedRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;unlockedRecipes:Ljava/util/Set;
      intermediary field_3147 Lnet/minecraft/class_516;field_3147:Ljava/util/Set;
      official f Lfqv;f:Ljava/util/Set;
  • Constructor Details

    • RecipeResultCollection

      public RecipeResultCollection(DynamicRegistryManager registryManager, List<RecipeEntry<?>> recipes)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;<init>(Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_516;<init>(Lnet/minecraft/class_5455;Ljava/util/List;)V
      official <init> Lfqv;<init>(Ljw;Ljava/util/List;)V
  • Method Details

    • shouldHaveSingleOutput

      private static boolean shouldHaveSingleOutput(DynamicRegistryManager registryManager, List<RecipeEntry<?>> recipes)
      Mappings:
      Namespace Name Mixin selector
      named shouldHaveSingleOutput Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;shouldHaveSingleOutput(Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/List;)Z
      intermediary method_30295 Lnet/minecraft/class_516;method_30295(Lnet/minecraft/class_5455;Ljava/util/List;)Z
      official a Lfqv;a(Ljw;Ljava/util/List;)Z
    • getRegistryManager

      public DynamicRegistryManager getRegistryManager()
      Mappings:
      Namespace Name Mixin selector
      named getRegistryManager Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager;
      intermediary method_48479 Lnet/minecraft/class_516;method_48479()Lnet/minecraft/class_5455;
      official a Lfqv;a()Ljw;
    • isInitialized

      public boolean isInitialized()
      Mappings:
      Namespace Name Mixin selector
      named isInitialized Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;isInitialized()Z
      intermediary method_2652 Lnet/minecraft/class_516;method_2652()Z
      official b Lfqv;b()Z
    • initialize

      public void initialize(RecipeBook recipeBook)
      Mappings:
      Namespace Name Mixin selector
      named initialize Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;initialize(Lnet/minecraft/recipe/book/RecipeBook;)V
      intermediary method_2647 Lnet/minecraft/class_516;method_2647(Lnet/minecraft/class_3439;)V
      official a Lfqv;a(Lawd;)V
    • computeCraftables

      public void computeCraftables(RecipeMatcher recipeFinder, int gridWidth, int gridHeight, RecipeBook recipeBook)
      Mappings:
      Namespace Name Mixin selector
      named computeCraftables Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;computeCraftables(Lnet/minecraft/recipe/RecipeMatcher;IILnet/minecraft/recipe/book/RecipeBook;)V
      intermediary method_2649 Lnet/minecraft/class_516;method_2649(Lnet/minecraft/class_1662;IILnet/minecraft/class_3439;)V
      official a Lfqv;a(Lcnc;IILawd;)V
    • isCraftable

      public boolean isCraftable(RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      named isCraftable Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;isCraftable(Lnet/minecraft/recipe/RecipeEntry;)Z
      intermediary method_2653 Lnet/minecraft/class_516;method_2653(Lnet/minecraft/class_8786;)Z
      official a Lfqv;a(Lcyy;)Z
    • hasCraftableRecipes

      public boolean hasCraftableRecipes()
      Mappings:
      Namespace Name Mixin selector
      named hasCraftableRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasCraftableRecipes()Z
      intermediary method_2655 Lnet/minecraft/class_516;method_2655()Z
      official c Lfqv;c()Z
    • hasFittingRecipes

      public boolean hasFittingRecipes()
      Mappings:
      Namespace Name Mixin selector
      named hasFittingRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasFittingRecipes()Z
      intermediary method_2657 Lnet/minecraft/class_516;method_2657()Z
      official d Lfqv;d()Z
    • getAllRecipes

      public List<RecipeEntry<?>> getAllRecipes()
      Mappings:
      Namespace Name Mixin selector
      named getAllRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getAllRecipes()Ljava/util/List;
      intermediary method_2650 Lnet/minecraft/class_516;method_2650()Ljava/util/List;
      official e Lfqv;e()Ljava/util/List;
    • getResults

      public List<RecipeEntry<?>> getResults(boolean craftableOnly)
      Mappings:
      Namespace Name Mixin selector
      named getResults Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getResults(Z)Ljava/util/List;
      intermediary method_2651 Lnet/minecraft/class_516;method_2651(Z)Ljava/util/List;
      official a Lfqv;a(Z)Ljava/util/List;
    • getRecipes

      public List<RecipeEntry<?>> getRecipes(boolean craftable)
      Mappings:
      Namespace Name Mixin selector
      named getRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;getRecipes(Z)Ljava/util/List;
      intermediary method_2648 Lnet/minecraft/class_516;method_2648(Z)Ljava/util/List;
      official b Lfqv;b(Z)Ljava/util/List;
    • hasSingleOutput

      public boolean hasSingleOutput()
      Mappings:
      Namespace Name Mixin selector
      named hasSingleOutput Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasSingleOutput()Z
      intermediary method_2656 Lnet/minecraft/class_516;method_2656()Z
      official f Lfqv;f()Z