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 cnu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcountCrafts(Recipe<?> recipe, int max, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) intcountCrafts(Recipe<?> recipe, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) booleanisCraftable(Recipe<?> recipe, int quantity, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) booleanisCraftable(Recipe<?> recipe, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) voidmethod_61535(ItemStack item) voidmethod_61536(ItemStack item, int maxCount) voidmethod_61541(ItemStack item) 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 aLcnu;a:Lcnt;
-
-
Constructor Details
-
RecipeFinder
public RecipeFinder()
-
-
Method Details
-
method_61535
- Mappings:
Namespace Name Mixin selector named method_61535Lnet/minecraft/recipe/RecipeFinder;method_61535(Lnet/minecraft/item/ItemStack;)Vintermediary method_61535Lnet/minecraft/class_9875;method_61535(Lnet/minecraft/class_1799;)Vofficial aLcnu;a(Lcvl;)V
-
method_61541
- Mappings:
Namespace Name Mixin selector named method_61541Lnet/minecraft/recipe/RecipeFinder;method_61541(Lnet/minecraft/item/ItemStack;)Vintermediary method_61541Lnet/minecraft/class_9875;method_61541(Lnet/minecraft/class_1799;)Vofficial bLcnu;b(Lcvl;)V
-
method_61536
- Mappings:
Namespace Name Mixin selector named method_61536Lnet/minecraft/recipe/RecipeFinder;method_61536(Lnet/minecraft/item/ItemStack;I)Vintermediary method_61536Lnet/minecraft/class_9875;method_61536(Lnet/minecraft/class_1799;I)Vofficial aLcnu;a(Lcvl;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 aLcnu;a(Ljava/util/stream/Stream;)Lcnt$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 aLcnu;a(Lczt;Lcnt$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 aLcnu;a(Lczt;ILcnt$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 bLcnu;b(Lczt;Lcnt$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 bLcnu;b(Lczt;ILcnt$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 aLcnu;a()V
-