Skip to content

Commit

Permalink
feat(website): Update website smithingTransform recipe example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayfri committed Nov 23, 2024
1 parent dbf5b85 commit faef5ad
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ fun HomePage() = PageLayout("Home") {
val myRecipe = recipesBuilder.smithingTransform(
name = "diamond_to_netherite"
) {
template(Items.DIAMOND_BLOCK)
base(Items.DIAMOND_SWORD)
addition(Items.NETHERITE_INGOT)
result(Items.NETHERITE_SWORD)
template = Items.DIAMOND_BLOCK
base = Items.DIAMOND_SWORD
addition = Items.NETHERITE_INGOT
result = Items.NETHERITE_SWORD
}
function("give_recipe") {
Expand Down

0 comments on commit faef5ad

Please sign in to comment.