AnvilAPI
AnvilAPI is a modification that opens up limitless possibilities for creating your own anvil recipes in Minecraft. With this tool, you can implement any crafting ideas for items.
Main Features
The mod allows you to add unique anvil recipes to the game through datapacks. You can fully customize all crafting parameters: choose required ingredients and their quantities, determine the work result, set the experience cost. Additionally, options for preserving source items and configuring returned materials are available.
A special feature of the mod is support for working with items that have durability - you can configure consumption of only part of the durability instead of complete destruction of the item.
Recipe Example
{
"type": "minecraft:anvil",
"inputs": [
{
"consume": false,
"count": 3,
"tag": "minecraft:coals"
},
{
"count": 5,
"item": "minecraft:iron_ingot"
}
],
"experience": 15,
"result": {
"count": 1,
"item": "minecraft:diamond"
}
}
Compatibility
The mod is excellent for use in modpacks and fully corresponds to its purpose - expanding anvil functionality through user customization.