addRecipe
Add a recipe.
Return
a ResourceKey pointing to the created recipe
Parameters
id
the recipe identifier
recipe
the recipe
fun addRecipe(recipeId: ResourceLocation, builder: SmithingTransformRecipeBuilder): ResourceKey<Recipe<*>>
fun addRecipe(recipeId: ResourceLocation, builder: SmithingTrimRecipeBuilder): ResourceKey<Recipe<*>>
Add only the recipe from a recipe builder.
Return
a ResourceKey pointing to the created recipe
Parameters
recipeId
the recipe identifier
builder
the recipe builder