Class RecipeFinder

java.lang.Object
net.minecraft.recipe.RecipeFinder

public class RecipeFinder extends Object
Mappings:
Namespace Name
named net/minecraft/recipe/RecipeFinder
intermediary net/minecraft/class_9875
official cpd
  • Field Details Link icon

    • recipeMatcher Link icon

      private final RecipeMatcher<RegistryEntry<Item>> recipeMatcher
      Mappings:
      Namespace Name Mixin selector
      named recipeMatcher Lnet/minecraft/recipe/RecipeFinder;recipeMatcher:Lnet/minecraft/recipe/RecipeMatcher;
      intermediary field_52506 Lnet/minecraft/class_9875;field_52506:Lnet/minecraft/class_1662;
      official a Lcpd;a:Lcpc;
  • Constructor Details Link icon

    • RecipeFinder Link icon

      public RecipeFinder()
  • Method Details Link icon

    • addInputIfUsable Link icon

      public void addInputIfUsable(ItemStack item)
      Mappings:
      Namespace Name Mixin selector
      named addInputIfUsable Lnet/minecraft/recipe/RecipeFinder;addInputIfUsable(Lnet/minecraft/item/ItemStack;)V
      intermediary method_61535 Lnet/minecraft/class_9875;method_61535(Lnet/minecraft/class_1799;)V
      official a Lcpd;a(Lcwq;)V
    • addInput Link icon

      public void addInput(ItemStack item)
      Mappings:
      Namespace Name Mixin selector
      named addInput Lnet/minecraft/recipe/RecipeFinder;addInput(Lnet/minecraft/item/ItemStack;)V
      intermediary method_61541 Lnet/minecraft/class_9875;method_61541(Lnet/minecraft/class_1799;)V
      official b Lcpd;b(Lcwq;)V
    • addInput Link icon

      public void addInput(ItemStack item, int maxCount)
      Mappings:
      Namespace Name Mixin selector
      named addInput Lnet/minecraft/recipe/RecipeFinder;addInput(Lnet/minecraft/item/ItemStack;I)V
      intermediary method_61536 Lnet/minecraft/class_9875;method_61536(Lnet/minecraft/class_1799;I)V
      official a Lcpd;a(Lcwq;I)V
    • isCraftable Link icon

      public boolean isCraftable(Recipe<?> recipe, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback)
      Mappings:
      Namespace Name Mixin selector
      named isCraftable Lnet/minecraft/recipe/RecipeFinder;isCraftable(Lnet/minecraft/recipe/Recipe;Lnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Z
      intermediary method_61538 Lnet/minecraft/class_9875;method_61538(Lnet/minecraft/class_1860;Lnet/minecraft/class_1662$class_9874;)Z
      official a Lcpd;a(Ldbf;Lcpc$b;)Z
    • isCraftable Link icon

      public boolean isCraftable(Recipe<?> recipe, int quantity, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback)
      Mappings:
      Namespace Name Mixin selector
      named isCraftable Lnet/minecraft/recipe/RecipeFinder;isCraftable(Lnet/minecraft/recipe/Recipe;ILnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Z
      intermediary method_61537 Lnet/minecraft/class_9875;method_61537(Lnet/minecraft/class_1860;ILnet/minecraft/class_1662$class_9874;)Z
      official a Lcpd;a(Ldbf;ILcpc$b;)Z
    • isCraftable Link icon

      public boolean isCraftable(List<? extends RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback)
      Mappings:
      Namespace Name Mixin selector
      named isCraftable Lnet/minecraft/recipe/RecipeFinder;isCraftable(Ljava/util/List;Lnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Z
      intermediary method_64645 Lnet/minecraft/class_9875;method_64645(Ljava/util/List;Lnet/minecraft/class_1662$class_9874;)Z
      official a Lcpd;a(Ljava/util/List;Lcpc$b;)Z
    • isCraftable Link icon

      private boolean isCraftable(List<? extends RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, int quantity, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback)
      Mappings:
      Namespace Name Mixin selector
      named isCraftable Lnet/minecraft/recipe/RecipeFinder;isCraftable(Ljava/util/List;ILnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Z
      intermediary method_64644 Lnet/minecraft/class_9875;method_64644(Ljava/util/List;ILnet/minecraft/class_1662$class_9874;)Z
      official a Lcpd;a(Ljava/util/List;ILcpc$b;)Z
    • countCrafts Link icon

      public int countCrafts(Recipe<?> recipe, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback)
      Mappings:
      Namespace Name Mixin selector
      named countCrafts Lnet/minecraft/recipe/RecipeFinder;countCrafts(Lnet/minecraft/recipe/Recipe;Lnet/minecraft/recipe/RecipeMatcher$ItemCallback;)I
      intermediary method_61543 Lnet/minecraft/class_9875;method_61543(Lnet/minecraft/class_1860;Lnet/minecraft/class_1662$class_9874;)I
      official b Lcpd;b(Ldbf;Lcpc$b;)I
    • countCrafts Link icon

      public int countCrafts(Recipe<?> recipe, int max, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback)
      Mappings:
      Namespace Name Mixin selector
      named countCrafts Lnet/minecraft/recipe/RecipeFinder;countCrafts(Lnet/minecraft/recipe/Recipe;ILnet/minecraft/recipe/RecipeMatcher$ItemCallback;)I
      intermediary method_61542 Lnet/minecraft/class_9875;method_61542(Lnet/minecraft/class_1860;ILnet/minecraft/class_1662$class_9874;)I
      official b Lcpd;b(Ldbf;ILcpc$b;)I
    • clear Link icon

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/recipe/RecipeFinder;clear()V
      intermediary method_61534 Lnet/minecraft/class_9875;method_61534()V
      official a Lcpd;a()V