From faef5ad0c48001d5fd515c911f17f14e3672fd9d Mon Sep 17 00:00:00 2001 From: Ayfri Date: Sat, 23 Nov 2024 17:36:46 +0100 Subject: [PATCH] feat(website): Update website smithingTransform recipe example. --- .../kotlin/io/github/ayfri/kore/website/pages/Index.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/src/jsMain/kotlin/io/github/ayfri/kore/website/pages/Index.kt b/website/src/jsMain/kotlin/io/github/ayfri/kore/website/pages/Index.kt index 8ebac704..7a96457e 100644 --- a/website/src/jsMain/kotlin/io/github/ayfri/kore/website/pages/Index.kt +++ b/website/src/jsMain/kotlin/io/github/ayfri/kore/website/pages/Index.kt @@ -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") {