advancementBuilderForRecipe

fun advancementBuilderForRecipe(recipe: ResourceKey<Recipe<*>>): Advancement.Builder

Create an advancement builder for unlocking the given recipe.

Return

the created advancement builder

Parameters

recipe

the recipe to unlock


fun advancementBuilderForRecipe(recipeId: ResourceLocation): Advancement.Builder

Create an advancement builder for unlocking the given recipe.

Return

the created advancement builder

Parameters

recipeId

the recipe to unlock