Package net.minecraft.recipe
Class RecipeFinder
java.lang.Object
net.minecraft.recipe.RecipeFinder
- Mappings:
Namespace Name named net/minecraft/recipe/RecipeFinderintermediary net/minecraft/class_9875official cqc
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddInputIfUsable(ItemStack item) voidclear()intcountCrafts(Recipe<?> recipe, int max, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) intcountCrafts(Recipe<?> recipe, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) private booleanisCraftable(List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, int quantity, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) booleanisCraftable(List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) booleanisCraftable(Recipe<?> recipe, int quantity, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) booleanisCraftable(Recipe<?> recipe, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) static RecipeMatcher.RawIngredient<RegistryEntry<Item>> sort(Stream<RegistryEntry<Item>> items)
-
Field Details
-
recipeMatcher
- Mappings:
Namespace Name Mixin selector named recipeMatcherLnet/minecraft/recipe/RecipeFinder;recipeMatcher:Lnet/minecraft/recipe/RecipeMatcher;intermediary field_52506Lnet/minecraft/class_9875;field_52506:Lnet/minecraft/class_1662;official aLcqc;a:Lcqb;
-
-
Constructor Details
-
RecipeFinder
public RecipeFinder()
-
-
Method Details
-
addInputIfUsable
- Mappings:
Namespace Name Mixin selector named addInputIfUsableLnet/minecraft/recipe/RecipeFinder;addInputIfUsable(Lnet/minecraft/item/ItemStack;)Vintermediary method_61535Lnet/minecraft/class_9875;method_61535(Lnet/minecraft/class_1799;)Vofficial aLcqc;a(Lcxp;)V
-
addInput
- Mappings:
Namespace Name Mixin selector named addInputLnet/minecraft/recipe/RecipeFinder;addInput(Lnet/minecraft/item/ItemStack;)Vintermediary method_61541Lnet/minecraft/class_9875;method_61541(Lnet/minecraft/class_1799;)Vofficial bLcqc;b(Lcxp;)V
-
addInput
- Mappings:
Namespace Name Mixin selector named addInputLnet/minecraft/recipe/RecipeFinder;addInput(Lnet/minecraft/item/ItemStack;I)Vintermediary method_61536Lnet/minecraft/class_9875;method_61536(Lnet/minecraft/class_1799;I)Vofficial aLcqc;a(Lcxp;I)V
-
sort
public static RecipeMatcher.RawIngredient<RegistryEntry<Item>> sort(Stream<RegistryEntry<Item>> items) - Mappings:
Namespace Name Mixin selector named sortLnet/minecraft/recipe/RecipeFinder;sort(Ljava/util/stream/Stream;)Lnet/minecraft/recipe/RecipeMatcher$RawIngredient;intermediary method_61539Lnet/minecraft/class_9875;method_61539(Ljava/util/stream/Stream;)Lnet/minecraft/class_1662$class_9873;official aLcqc;a(Ljava/util/stream/Stream;)Lcqb$a;
-
isCraftable
public boolean isCraftable(Recipe<?> recipe, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) - Mappings:
Namespace Name Mixin selector named isCraftableLnet/minecraft/recipe/RecipeFinder;isCraftable(Lnet/minecraft/recipe/Recipe;Lnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Zintermediary method_61538Lnet/minecraft/class_9875;method_61538(Lnet/minecraft/class_1860;Lnet/minecraft/class_1662$class_9874;)Zofficial aLcqc;a(Ldce;Lcqb$b;)Z
-
isCraftable
public boolean isCraftable(Recipe<?> recipe, int quantity, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) - Mappings:
Namespace Name Mixin selector named isCraftableLnet/minecraft/recipe/RecipeFinder;isCraftable(Lnet/minecraft/recipe/Recipe;ILnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Zintermediary method_61537Lnet/minecraft/class_9875;method_61537(Lnet/minecraft/class_1860;ILnet/minecraft/class_1662$class_9874;)Zofficial aLcqc;a(Ldce;ILcqb$b;)Z
-
isCraftable
public boolean isCraftable(List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) - Mappings:
Namespace Name Mixin selector named isCraftableLnet/minecraft/recipe/RecipeFinder;isCraftable(Ljava/util/List;Lnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Zintermediary method_64645Lnet/minecraft/class_9875;method_64645(Ljava/util/List;Lnet/minecraft/class_1662$class_9874;)Zofficial aLcqc;a(Ljava/util/List;Lcqb$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 isCraftableLnet/minecraft/recipe/RecipeFinder;isCraftable(Ljava/util/List;ILnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Zintermediary method_64644Lnet/minecraft/class_9875;method_64644(Ljava/util/List;ILnet/minecraft/class_1662$class_9874;)Zofficial aLcqc;a(Ljava/util/List;ILcqb$b;)Z
-
countCrafts
public int countCrafts(Recipe<?> recipe, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) - Mappings:
Namespace Name Mixin selector named countCraftsLnet/minecraft/recipe/RecipeFinder;countCrafts(Lnet/minecraft/recipe/Recipe;Lnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Iintermediary method_61543Lnet/minecraft/class_9875;method_61543(Lnet/minecraft/class_1860;Lnet/minecraft/class_1662$class_9874;)Iofficial bLcqc;b(Ldce;Lcqb$b;)I
-
countCrafts
public int countCrafts(Recipe<?> recipe, int max, @Nullable RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) - Mappings:
Namespace Name Mixin selector named countCraftsLnet/minecraft/recipe/RecipeFinder;countCrafts(Lnet/minecraft/recipe/Recipe;ILnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Iintermediary method_61542Lnet/minecraft/class_9875;method_61542(Lnet/minecraft/class_1860;ILnet/minecraft/class_1662$class_9874;)Iofficial bLcqc;b(Ldce;ILcqb$b;)I
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clearLnet/minecraft/recipe/RecipeFinder;clear()Vintermediary method_61534Lnet/minecraft/class_9875;method_61534()Vofficial aLcqc;a()V
-