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

    • recipeMatcher

      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 Lcqb;a:Lcqa;
  • Constructor Details

    • RecipeFinder

      public RecipeFinder()
  • Method Details

    • addInputIfUsable

      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 Lcqb;a(Lcxo;)V
    • addInput

      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 Lcqb;b(Lcxo;)V
    • addInput

      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 Lcqb;a(Lcxo;I)V
    • sort

      Mappings:
      Namespace Name Mixin selector
      named sort Lnet/minecraft/recipe/RecipeFinder;sort(Ljava/util/stream/Stream;)Lnet/minecraft/recipe/RecipeMatcher$RawIngredient;
      intermediary method_61539 Lnet/minecraft/class_9875;method_61539(Ljava/util/stream/Stream;)Lnet/minecraft/class_1662$class_9873;
      official a Lcqb;a(Ljava/util/stream/Stream;)Lcqa$a;
    • isCraftable

      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 Lcqb;a(Ldcd;Lcqa$b;)Z
    • isCraftable

      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 Lcqb;a(Ldcd;ILcqa$b;)Z
    • isCraftable

      public boolean isCraftable(List<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 Lcqb;a(Ljava/util/List;Lcqa$b;)Z
    • isCraftable

      private boolean isCraftable(List<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 Lcqb;a(Ljava/util/List;ILcqa$b;)Z
    • countCrafts

      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 Lcqb;b(Ldcd;Lcqa$b;)I
    • countCrafts

      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 Lcqb;b(Ldcd;ILcqa$b;)I
    • clear

      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 Lcqb;a()V