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 cpd
-
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<? extends RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, int quantity, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) booleanisCraftable(List<? extends 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)
-
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 aLcpd;a:Lcpc;
-
-
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 aLcpd;a(Lcwq;)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 bLcpd;b(Lcwq;)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 aLcpd;a(Lcwq;I)V
-
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 aLcpd;a(Ldbf;Lcpc$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 aLcpd;a(Ldbf;ILcpc$b;)Z
-
isCraftable
public boolean isCraftable(List<? extends 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 aLcpd;a(Ljava/util/List;Lcpc$b;)Z
-
isCraftable
private boolean isCraftable(List<? extends 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 aLcpd;a(Ljava/util/List;ILcpc$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 bLcpd;b(Ldbf;Lcpc$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 bLcpd;b(Ldbf;ILcpc$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 aLcpd;a()V
-