本模组为所有匹配的物品提供通用的切割配方。
本模组是从另一个名为 Convenient Storage(未在 Modrinth 上发布)的模组中分离出来的实用工具,由 Admsgenter 制作。
功能
为缺少适当配方的物品添加通用切割配方。
例如,木材类物品原本没有切割配方,我们为其添加了。

补全可通过多种配方制作的物品的直接配方。
例如,石头可以切割成圆石,圆石可以切割成圆石台阶,如果缺失从石头到圆石台阶的切割配方,本模组会将其添加。

- 注意:在 Minecraft 1.20 中不存在从石头到圆石的切割配方,这是由本模组添加的。
数据包
可以通过数据包或 kjs 修改本模组的规则。
结构
数据包的结构应如下所示:
data/<namespace>/
├ universal_ingredient/
│ └ <ingredient_file_name>.json
└ universal_recipe/
└ <recipe_file_name>.json
JSON
通用原料 (Universal Ingredient)
我们通过匹配物品 ID 来添加切割配方。
我们使用 '*' 作为通配符进行匹配。
例如,"minecraft:oak_log"、"minecraft:birch_log" 等匹配 "*_log"。
JSON 的结构应如下所示:
JSON
├ <ingredient_0>: [<rule_0>, <rule_1>, ...]
├ <ingredient_1>: [<rule_0>, <rule_1>, ...]
...
例如,data/universal_cutting_recipe/universal_ingredient/default.json 的部分内容:
{
"boat": ["*_boat"],
"bricks": ["*_bricks"],
"button": ["*_button"],
"door": ["*_door"],
"fence": ["*_fence"],
"fence_gate": ["*_fence_gate"],
"log": ["*_log", "*_stem"],
"planks": ["*_planks"],
"stripped_log": ["stripped_*_log", "stripped_*_stem"],
"stripped_wood": ["stripped_*_wood", "stripped_*_hyphae"],
"trapdoor": ["*_trapdoor"],
"wood": ["*_wood", "*_hyphae"]
}
- 注意:单独的 "*" 不能作为规则。
通用配方 (Universal Recipe)
JSON 的结构应如下所示:
JSON
├ <input_ingredient_0>: {
│ <output_ingredient_0>: <count_0>,
│ <output_ingredient_1>: <count_1>,
│ ...
│ }
├ <input_ingredient_1>: {
│ ...
│ }
...
例如,data/universal_cutting_recipe/universal_recipe/default.json 的部分内容:
{
"*": {
"bricks": 1,
"button": 1,
"fence": 1,
"fence_gate": 1,
"slab": 2,
"stairs": 1
},
"log": {
"stripped_log": 1
},
"planks": {
"button": 1,
"door": 1,
"fence": 1,
"fence_gate": 1,
"minecraft:ladder": 2,
"minecraft:stick": 3,
"sign": 1,
"slab": 2,
"stairs": 1,
"trapdoor": 1
},
"stripped_log": {
"boat": 1,
"minecraft:barrel": 1,
"minecraft:chest": 1,
"minecraft:composter": 2,
"minecraft:crafting_table": 1,
"planks": 4
},
"stripped_wood": {
"stripped_log": 1
},
"wood": {
"log": 1,
"stripped_wood": 1
}
}
- 注意:单独的 "*" 可以作为输入原料 (input_ingredient)。
然后,如果输入和输出中的 * 相同,将添加相应的配方。
杂项
我可以在整合包中使用此模组吗?
可以。
你是这个资源的作者?登录后可认领此资源。
相似资源
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
查看物品与配方
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
AE2:一款流行的自动化与存储模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧