net.minecraft.recipe

public class RecipeFinder

net.minecraft.world.entity.player.StackedItemContents
net.minecraft.class_9875
net.minecraft.recipe.RecipeFinder

Field summary

Modifier and TypeField
private final RecipeMatcher<RegistryEntry<Item>>
raw
field_52506
recipeMatcher

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
accountSimpleStack(ItemStack itemStack)
method_61535(class_1799 arg0)
addInputIfUsable(ItemStack item)
public void
accountStack(ItemStack itemStack)
method_61541(class_1799 arg0)
addInput(ItemStack item)
public void
accountStack(ItemStack itemStack, int maxCount)
method_61536(class_1799 arg0, int arg1)
addInput(ItemStack item, int maxCount)
public boolean
canCraft(Recipe<?> recipe, StackedContents$Output<Holder<Item>> output)
method_61538(class_1860<?> arg0, class_1662$class_9874<class_6880<class_1792>> arg1)
isCraftable(Recipe<?> recipe, RecipeMatcher$ItemCallback<RegistryEntry<Item>> itemCallback)
public boolean
canCraft(Recipe<?> recipe, int amount, StackedContents$Output<Holder<Item>> output)
method_61537(class_1860<?> arg0, int arg1, class_1662$class_9874<class_6880<class_1792>> arg2)
isCraftable(Recipe<?> recipe, int quantity, RecipeMatcher$ItemCallback<RegistryEntry<Item>> itemCallback)
public boolean
canCraft(List<? extends StackedContents$IngredientInfo<Holder<Item>>> contents, StackedContents$Output<Holder<Item>> output)
method_64645(List<? extends class_1662$class_10528<class_6880<class_1792>>> arg0, class_1662$class_9874<class_6880<class_1792>> arg1)
isCraftable(List<? extends RecipeMatcher$RawIngredient<RegistryEntry<Item>>> rawIngredients, RecipeMatcher$ItemCallback<RegistryEntry<Item>> itemCallback)
private boolean
canCraft(List<? extends StackedContents$IngredientInfo<Holder<Item>>> contents, int amount, StackedContents$Output<Holder<Item>> output)
method_64644(List<? extends class_1662$class_10528<class_6880<class_1792>>> arg0, int arg1, class_1662$class_9874<class_6880<class_1792>> arg2)
isCraftable(List<? extends RecipeMatcher$RawIngredient<RegistryEntry<Item>>> rawIngredients, int quantity, RecipeMatcher$ItemCallback<RegistryEntry<Item>> itemCallback)
public int
getBiggestCraftableStack(Recipe<?> recipe, StackedContents$Output<Holder<Item>> output)
method_61543(class_1860<?> arg0, class_1662$class_9874<class_6880<class_1792>> arg1)
countCrafts(Recipe<?> recipe, RecipeMatcher$ItemCallback<RegistryEntry<Item>> itemCallback)
public int
getBiggestCraftableStack(Recipe<?> recipe, int maxSize, StackedContents$Output<Holder<Item>> output)
method_61542(class_1860<?> arg0, int arg1, class_1662$class_9874<class_6880<class_1792>> arg2)
countCrafts(Recipe<?> recipe, int max, RecipeMatcher$ItemCallback<RegistryEntry<Item>> itemCallback)
public void
clear()
method_61534()
clear()