Skip to content

Commit

Permalink
Merge pull request #409 from wdfaESfaef/smithing
Browse files Browse the repository at this point in the history
锻造配方调整
  • Loading branch information
Gu-ZT authored Apr 27, 2024
2 parents a16d316 + dd84410 commit bdb242b
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"result": {
"item": "anvilcraft:royal_anvil"
},
"template": []
"template": {
"item": "anvilcraft:royal_steel_upgrade_smithing_template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"result": {
"item": "anvilcraft:royal_grindstone"
},
"template": []
"template": {
"item": "anvilcraft:royal_steel_upgrade_smithing_template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"result": {
"item": "anvilcraft:royal_smithing_table"
},
"template": []
"template": {
"item": "anvilcraft:royal_steel_upgrade_smithing_template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"result": {
"item": "anvilcraft:royal_anvil"
},
"template": []
"template": {
"item": "anvilcraft:royal_steel_upgrade_smithing_template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"result": {
"item": "anvilcraft:royal_grindstone"
},
"template": []
"template": {
"item": "anvilcraft:royal_steel_upgrade_smithing_template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"result": {
"item": "anvilcraft:royal_smithing_table"
},
"template": []
"template": {
"item": "anvilcraft:royal_steel_upgrade_smithing_template"
}
}

0 comments on commit bdb242b

Please sign in to comment.