This mod is based on the Mufog and has been ported to Forge. The codebase has been refactored to follow Forge standards, with NeoForge support planned for future updates.
with datapack:
{
"type": "mufog:forging",
"ingredient": {
"item": "minecraft:redstone_ore"
},
"blueprint": {
"item": "minecraft:redstone"
},
"processtime": 5,
"level": 1,
"result": {
"item": "minecraft:redstone",
"count": 2
}
}
with KubeJS:
// output: the forging result item.
// input: the raw materials for forging.
// hammerTimes: the number of hammering times required to complete the recipe.
// hammerLevel: Hammer level required for forging(copper & gold:1, iron:2, diamond:3, netherite:4).
// blueprint: The item that must be placed at off-hand during forging.
event.recipes.mufog.forging(<output>, <input>, <hammerTimes>, <hammerLevel>, <blueprint|optional>)
这个Mod是Mufog的移植, 将其移植到Forge, 并重写代码更符合Forge标准, 未来计划支持NeoForge
数据包:
{
"type": "mufog:forging",
"ingredient": {
"item": "minecraft:redstone_ore"
},
"blueprint": {
"item": "minecraft:redstone"
},
"processtime": 5,
"level": 1,
"result": {
"item": "minecraft:redstone",
"count": 2
}
}
KubeJS:
// output: 配方的输出
// input: 配方的输入原材料
// hammerTimes: 完成配方所需的锤击次数
// hammerLevel: 锻造所需的锤子等级 (铜和金: 1,铁: 2,钻石: 3,netherite:4)
// blueprint: 锻造时必须置于副手的物品
event.recipes.mufog.forging(<output>, <input>, <hammerTimes>, <hammerLevel>, <blueprint|optional>)
发现Bug请及时反馈