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 fxy
  • Field Details

    • entries

      private final List<RecipeDisplayEntry> entries
      Mappings:
      Namespace Name Mixin selector
      named entries Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;entries:Ljava/util/List;
      intermediary field_54835 Lnet/minecraft/class_516;field_54835:Ljava/util/List;
      official a Lfxy;a: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 b Lfxy;b:Z
    • craftableRecipes

      private final Set<NetworkRecipeId> 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 c Lfxy;c:Ljava/util/Set;
    • displayableRecipes

      private final Set<NetworkRecipeId> displayableRecipes
      Mappings:
      Namespace Name Mixin selector
      named displayableRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;displayableRecipes:Ljava/util/Set;
      intermediary field_54836 Lnet/minecraft/class_516;field_54836:Ljava/util/Set;
      official d Lfxy;d:Ljava/util/Set;
  • Constructor Details

    • RecipeResultCollection

      public RecipeResultCollection(List<RecipeDisplayEntry> entries)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_516;<init>(Ljava/util/List;)V
      official <init> Lfxy;<init>(Ljava/util/List;)V
  • Method Details

    • shouldHaveSingleOutput

      private static boolean shouldHaveSingleOutput(List<RecipeDisplayEntry> recipes)
      Mappings:
      Namespace Name Mixin selector
      named shouldHaveSingleOutput Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;shouldHaveSingleOutput(Ljava/util/List;)Z
      intermediary method_30295 Lnet/minecraft/class_516;method_30295(Ljava/util/List;)Z
      official a Lfxy;a(Ljava/util/List;)Z
    • populateRecipes

      public void populateRecipes(RecipeFinder finder, Predicate<RecipeDisplay> displayablePredicate)
      Mappings:
      Namespace Name Mixin selector
      named populateRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;populateRecipes(Lnet/minecraft/recipe/RecipeFinder;Ljava/util/function/Predicate;)V
      intermediary method_64884 Lnet/minecraft/class_516;method_64884(Lnet/minecraft/class_9875;Ljava/util/function/Predicate;)V
      official a Lfxy;a(Lcqb;Ljava/util/function/Predicate;)V
    • isCraftable

      public boolean isCraftable(NetworkRecipeId recipeId)
      Mappings:
      Namespace Name Mixin selector
      named isCraftable Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;isCraftable(Lnet/minecraft/recipe/NetworkRecipeId;)Z
      intermediary method_2653 Lnet/minecraft/class_516;method_2653(Lnet/minecraft/class_10298;)Z
      official a Lfxy;a(Lddk;)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 a Lfxy;a()Z
    • hasDisplayableRecipes

      public boolean hasDisplayableRecipes()
      Mappings:
      Namespace Name Mixin selector
      named hasDisplayableRecipes Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;hasDisplayableRecipes()Z
      intermediary method_64886 Lnet/minecraft/class_516;method_64886()Z
      official b Lfxy;b()Z
    • getAllRecipes

      public List<RecipeDisplayEntry> 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 c Lfxy;c()Ljava/util/List;
    • filter

      Mappings:
      Namespace Name Mixin selector
      named filter Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;filter(Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection$RecipeFilterMode;)Ljava/util/List;
      intermediary method_64885 Lnet/minecraft/class_516;method_64885(Lnet/minecraft/class_516$class_9937;)Ljava/util/List;
      official a Lfxy;a(Lfxy$a;)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 d Lfxy;d()Z