Mufog-重塑版

Mufog-重塑版

Mufog 的 Forge 移植版

KubeJS

这个 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 请及时反馈