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

    • EMPTY

      public static final RecipeResultCollection EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;EMPTY:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
      intermediary field_55504 Lnet/minecraft/class_516;field_55504:Lnet/minecraft/class_516;
      official a Lfyn;a:Lfyn;
    • 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 b Lfyn;b:Ljava/util/List;
    • 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 Lfyn;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 Lfyn;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> Lfyn;<init>(Ljava/util/List;)V
  • Method Details

    • 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 Lfyn;a(Lcpd;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 Lfyn;a(Ldcm;)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 Lfyn;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 Lfyn;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 Lfyn;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 Lfyn;a(Lfyn$a;)Ljava/util/List;