介绍
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!
常见问题
AnvilAPI 支持哪些 Minecraft 版本?
AnvilAPI 支持 Minecraft Java 版 1.19.3–1.20.4,共 7 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
AnvilAPI 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论
登录后评论和评分