本项目目前无人维护,正在寻找有兴趣继续开发的维护者。
如需更多信息或希望提供帮助,请 加入 Discord :)
本模组扩展了原版 JSON 数据包/配方系统。它不提供自己的脚本语言。
简介
这是一个“简单”的 Fabric 模组,允许你添加/修改 JSON 合成/烹饪等配方,以使用 NBT 输入和输出。
所有内容都在原版 GUI 中 nicely 可视化呈现。
这可以通过现在重新引入的 data 属性来实现。
更多信息请参阅 Wiki 页面。
你可能希望将此模组与 Cotton 一起使用,因为它允许你全局加载数据包并移除不需要的配方。
附加功能 :)
Nbt Crafting 还赋予了你添加新药水制作配方的能力,并允许你添加熔炉和铁砧配方。有关这些功能的解释,请参阅 Wiki。
由于本模组的一些新增功能,配方书现在也显示所有配方的输出数量——太棒了!
服务器使用
此模组也可仅在服务端运行。这会在客户端引起一些微小的外观问题。
示例
一个简单的配方,用一把耐久度低于 41 钻石剑和一颗钻石获得酷炫的“战斧”。
{
"type": "crafting_shapeless",
"ingredients": [
{
"item": "minecraft:diamond_sword",
"data": {
"require": {
"Damage": "$..40"
}
}
},
{ "item": "minecraft:diamond" }
],
"result": {
"item": "minecraft:diamond_axe",
"data": {
"display": {
"Name": "{\"text\":\"Battle Axe\"}"
},
"Enchantments": [
{
"id": "minecraft:sharpness",
"lvl": 10
}
]
}
}
}
演示

模组支持
任何基于默认原版配方系统并使用 Ingredient 类的模组,在输入 NBT 匹配方面都应该兼容。
反馈
如果遇到错误或有任何建议,只需 提交 GitHub Issue。
许可/整合包使用
本模组根据 Apache 2.0 许可证发布。只要注明我的名字,你可以随意将其包含在整合包等项目中 :)
This project is currently unmaintained and looking for maintainers interested in further development.
For further information or if you want to help out, please join the Discord :)
This mod extends the vanilla json datapack/recipe system. It does not provide an own scripting language.
About
It's a "simple" fabric mod which allows you to add/change JSON crafting/cooking/etc. recipes to use nbt input and output.
Everything is kept nicely visualized in the vanilla gui.
This can be achieved through the now reintroduced data attribute.
For more information see the wiki pages.
You may want to use this mod with Cotton since this enables you to load datapacks globally and to remove unwanted recipes.
Extras :)
Nbt Crafting also gives you the ability to add new brewing recipes and enables you to add cauldron and anvil recipes. See the wiki for an explanation of these features.
Due to some additions made with this mod the recipe book displays also the output amount of all recipes - yay!
Server Usage
This mod works also server-side only. This causes minor cosmetic issues at the client side.
Example
A simple recipe to get a cool "Battle Axe" of a diamond and a diamond sword with less than 41 damage.
{
"type": "crafting_shapeless",
"ingredients": [
{
"item": "minecraft:diamond_sword",
"data": {
"require": {
"Damage": "$..40"
}
}
},
{ "item": "minecraft:diamond" }
],
"result": {
"item": "minecraft:diamond_axe",
"data": {
"display": {
"Name": "{\"text\":\"Battle Axe\"}"
},
"Enchantments": [
{
"id": "minecraft:sharpness",
"lvl": 10
}
]
}
}
}
Demo

Mod support
Every mod which is based on the default vanilla recipe system and which uses the Ingredient class should be compatible in terms of input nbt matching.
Feedback
If you encounter bugs or have suggestions just open a GitHub issue.
License/Modpack usage
This mod is released under Apache 2.0. Feel free to include it in modpacks etc. as long as you attribute me :)
评论 0
登录后参与评分
还没有评论,来抢沙发吧