Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
AnvilAPI

AnvilAPI

Provides the ability to add custom anvil recipes.

3,988
9
Game Mechanics
Library
Utility

Compatibility

Minecraft: Java Edition

1.20–1.20.4
1.19.3–1.19.4

Platforms

Fabric
Forge
NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki
Buy Me a Coffee

Creators

Hantonik
Hantonik Owner

Details

Licensed MIT
Published 2 years ago
Updated last year
DescriptionChangelogVersions

Banner
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 XP required.
Items with durability will be able to consume it instead of the whole item if you choose to!

Downloads

Minecraft 1.20.4
Minecraft 1.19.4

Wiki

Here is an example anvil recipe file:

{
  "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"
  }
}


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!

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.