CurseForge · Minecraft mod
AnvilAPI
Provides the ability to add custom anvil recipes.
Quick answer
Which AnvilAPI release should I use?
AnvilAPI-1.20.4-fabric-5.2.2.2 targets 1.20.4 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is AnvilAPI required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does AnvilAPI-1.20.4-fabric-5.2.2.2 need?
AnvilAPI-1.20.4-fabric-5.2.2.2. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup. 5 come through another mod in the chain.
5 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add AnvilAPI without breaking your instance.
Built for AnvilAPI-1.20.4-fabric-5.2.2.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use AnvilAPI-1.20.4-fabric-5.2.2.2. It targets 1.20.4 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup. 5 come through another mod in the chain.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside AnvilAPI-1.20.4-fabric-5.2.2.2. It opens that exact file at the source.
About this project
What does AnvilAPI add?

AnvilAPI is a mod that adds to the game the ability to create your own dream anvil recipes.
Description
By uploading this mod, you gain the ability to add anvil recipes to the game using datapacks. In addition to the obvious customization of ingredients and results, and their amounts, you can also choose whether the input will be consumed, what it will return, and the amount of necessary XP.
Items with durability will be able to consume it instead of the whole item if you choose to!
Downloads
Wiki
Here is an example anvil recipe file:

For more information, see the full documentation here.
Yes, you can use this mod in your modpack! That's literally what it was made for!
Contribution
Found a bug? Report it here, and I'll try to fix it!
Have an idea for a new feature? Tell me more about it here!
Code
Click me for source code!
"If you want to use my code, feel free, but remember to mention whose code it is!
Take care, author."
Support
I do it out of passion, but if you want to appreciate my work, you can do it by buying me a coffee, thanks <3!
Project description from CurseForge.
Pick your setup
AnvilAPI by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.4
3 loader builds1.20.3
3 loader builds1.20.2
3 loader builds1.20.1
3 loader builds1.20
1 loader build1.19.4
2 loader builds1.19.3
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AnvilAPI versions and loaders
AnvilAPI-1.20.4-fabric-5.2.2.2
AnvilAPI-1.20.4-fabric-5.2.2.2.jar
28 Jan 2024
AnvilAPI-1.20.4-neoforge-5.2.2.2
AnvilAPI-1.20.4-neoforge-5.2.2.2.jar
28 Jan 2024
AnvilAPI-1.20.4-forge-5.2.2.2
AnvilAPI-1.20.4-forge-5.2.2.2.jar
28 Jan 2024
AnvilAPI-1.20.4-fabric-5.2.2.1
AnvilAPI-1.20.4-fabric-5.2.2.1.jar
27 Jan 2024
AnvilAPI-1.20.4-neoforge-5.2.2.1
AnvilAPI-1.20.4-neoforge-5.2.2.1.jar
27 Jan 2024
AnvilAPI-1.20.4-forge-5.2.2.1
AnvilAPI-1.20.4-forge-5.2.2.1.jar
27 Jan 2024
AnvilAPI-1.20.4-fabric-5.2.2.0
AnvilAPI-1.20.4-fabric-5.2.2.0.jar
27 Jan 2024
AnvilAPI-1.20.4-neoforge-5.2.2.0
AnvilAPI-1.20.4-neoforge-5.2.2.0.jar
27 Jan 2024
AnvilAPI-1.20.4-forge-5.2.2.0
AnvilAPI-1.20.4-forge-5.2.2.0.jar
27 Jan 2024
AnvilAPI-1.20.4-fabric-5.2.1.1-beta
AnvilAPI-1.20.4-fabric-5.2.1.1-beta.jar
14 Jan 2024
AnvilAPI-1.20.4-neoforge-5.2.1.1-beta
AnvilAPI-1.20.4-neoforge-5.2.1.1-beta.jar
14 Jan 2024
AnvilAPI-1.20.4-forge-5.2.1.1-beta
AnvilAPI-1.20.4-forge-5.2.1.1-beta.jar
14 Jan 2024
Looking for an older file? The official CurseForge project page is in Resources.