diff --git a/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/VanillaRecipesLoader.java b/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/VanillaRecipesLoader.java index 8a9c9ff4b..d4d922913 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/VanillaRecipesLoader.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/VanillaRecipesLoader.java @@ -149,21 +149,27 @@ public static void init(RegistrateRecipeProvider provider) { .unlocks(AnvilCraftDatagen.hasItem(ModItems.AMETHYST_SWORD.asItem()), AnvilCraftDatagen.has(ModItems.AMETHYST_SWORD)) .save(provider, AnvilCraft.of("smithing/royal_steel_sword")); - SmithingTransformRecipeBuilder.smithing(Ingredient.of(), Ingredient.of(Items.GRINDSTONE), - Ingredient.of(ModBlocks.ROYAL_STEEL_BLOCK), RecipeCategory.TOOLS, ModBlocks.ROYAL_GRINDSTONE.asItem()) + SmithingTransformRecipeBuilder.smithing( + Ingredient.of(ModItems.ROYAL_STEEL_UPGRADE_SMITHING_TEMPLATE), Ingredient.of(Items.GRINDSTONE), + Ingredient.of(ModBlocks.ROYAL_STEEL_BLOCK), RecipeCategory.TOOLS, ModBlocks.ROYAL_GRINDSTONE.asItem() + ) .unlocks(AnvilCraftDatagen.hasItem(ModBlocks.ROYAL_STEEL_BLOCK.asItem()), AnvilCraftDatagen.has(ModBlocks.ROYAL_STEEL_BLOCK)) .unlocks(AnvilCraftDatagen.hasItem(Items.GRINDSTONE), AnvilCraftDatagen.has(Items.GRINDSTONE)) .save(provider, AnvilCraft.of("smithing/royal_grindstone")); - SmithingTransformRecipeBuilder.smithing(Ingredient.of(), Ingredient.of(Items.ANVIL), - Ingredient.of(ModBlocks.ROYAL_STEEL_BLOCK), RecipeCategory.TOOLS, ModBlocks.ROYAL_ANVIL.asItem()) + SmithingTransformRecipeBuilder.smithing( + Ingredient.of(ModItems.ROYAL_STEEL_UPGRADE_SMITHING_TEMPLATE), Ingredient.of(Items.ANVIL), + Ingredient.of(ModBlocks.ROYAL_STEEL_BLOCK), RecipeCategory.TOOLS, ModBlocks.ROYAL_ANVIL.asItem() + ) .unlocks(AnvilCraftDatagen.hasItem(ModBlocks.ROYAL_STEEL_BLOCK.asItem()), AnvilCraftDatagen.has(ModBlocks.ROYAL_STEEL_BLOCK)) .unlocks(AnvilCraftDatagen.hasItem(Items.ANVIL), AnvilCraftDatagen.has(Items.ANVIL)) .save(provider, AnvilCraft.of("smithing/royal_anvil")); - SmithingTransformRecipeBuilder.smithing(Ingredient.of(), Ingredient.of(Items.SMITHING_TABLE), + SmithingTransformRecipeBuilder.smithing( + Ingredient.of(ModItems.ROYAL_STEEL_UPGRADE_SMITHING_TEMPLATE), Ingredient.of(Items.SMITHING_TABLE), Ingredient.of(ModBlocks.ROYAL_STEEL_BLOCK), RecipeCategory.TOOLS, - ModBlocks.ROYAL_SMITHING_TABLE.asItem()) + ModBlocks.ROYAL_SMITHING_TABLE.asItem() + ) .unlocks(AnvilCraftDatagen.hasItem(ModBlocks.ROYAL_STEEL_BLOCK.asItem()), AnvilCraftDatagen.has(ModBlocks.ROYAL_STEEL_BLOCK)) .unlocks(AnvilCraftDatagen.hasItem(Items.SMITHING_TABLE), AnvilCraftDatagen.has(Items.SMITHING_TABLE)) diff --git a/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_anvil.json b/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_anvil.json index e5bb0a615..d846d987e 100644 --- a/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_anvil.json +++ b/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_anvil.json @@ -9,5 +9,7 @@ "result": { "item": "anvilcraft:royal_anvil" }, - "template": [] + "template": { + "item": "anvilcraft:royal_steel_upgrade_smithing_template" + } } \ No newline at end of file diff --git a/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_grindstone.json b/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_grindstone.json index aa28aab4b..16438fb15 100644 --- a/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_grindstone.json +++ b/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_grindstone.json @@ -9,5 +9,7 @@ "result": { "item": "anvilcraft:royal_grindstone" }, - "template": [] + "template": { + "item": "anvilcraft:royal_steel_upgrade_smithing_template" + } } \ No newline at end of file diff --git a/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_smithing_table.json b/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_smithing_table.json index 9516922ce..985c8c1b2 100644 --- a/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_smithing_table.json +++ b/fabric/src/generated/resources/data/anvilcraft/recipes/smithing/royal_smithing_table.json @@ -9,5 +9,7 @@ "result": { "item": "anvilcraft:royal_smithing_table" }, - "template": [] + "template": { + "item": "anvilcraft:royal_steel_upgrade_smithing_template" + } } \ No newline at end of file diff --git a/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_anvil.json b/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_anvil.json index e5bb0a615..d846d987e 100644 --- a/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_anvil.json +++ b/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_anvil.json @@ -9,5 +9,7 @@ "result": { "item": "anvilcraft:royal_anvil" }, - "template": [] + "template": { + "item": "anvilcraft:royal_steel_upgrade_smithing_template" + } } \ No newline at end of file diff --git a/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_grindstone.json b/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_grindstone.json index aa28aab4b..16438fb15 100644 --- a/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_grindstone.json +++ b/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_grindstone.json @@ -9,5 +9,7 @@ "result": { "item": "anvilcraft:royal_grindstone" }, - "template": [] + "template": { + "item": "anvilcraft:royal_steel_upgrade_smithing_template" + } } \ No newline at end of file diff --git a/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_smithing_table.json b/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_smithing_table.json index 9516922ce..985c8c1b2 100644 --- a/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_smithing_table.json +++ b/forge/src/generated/resources/data/anvilcraft/recipes/smithing/royal_smithing_table.json @@ -9,5 +9,7 @@ "result": { "item": "anvilcraft:royal_smithing_table" }, - "template": [] + "template": { + "item": "anvilcraft:royal_steel_upgrade_smithing_template" + } } \ No newline at end of file