net.minecraft.recipe

public interface RecipeUnlocker

net.minecraft.world.inventory.RecipeCraftingHolder
net.minecraft.class_1732
net.minecraft.recipe.RecipeUnlocker

Method summary

Modifier and TypeMethod
void
setRecipeUsed(RecipeHolder<?> recipeUsed)
method_7662(class_8786<?> arg0)
setLastRecipe(RecipeEntry<?> recipe)
RecipeEntry<?>
getRecipeUsed()
method_7663()
getLastRecipe()
default void
awardUsedRecipes(Player player, List<ItemStack> itemStacks)
method_7664(class_1657 arg0, List<class_1799> arg1)
unlockLastRecipe(PlayerEntity player, List<ItemStack> ingredients)
default boolean
setRecipeUsed(ServerPlayer player, RecipeHolder<?> recipe)
method_7665(class_3222 arg0, class_8786<?> arg1)
shouldCraftRecipe(ServerPlayerEntity player, RecipeEntry<?> recipe)