← Назад к ресурсам

Mufog

The Smithing System based on Datapack!

Modrinth utility

Описание

# Mufog This is a mod that provides a reliable forging system. It is based on Tags and Recipes, The newly added tags include “mufog:hammer”, “mufog:hammer/level_1”......"mufog:hammer/level_5". And the newly added recipe type has 5 items that can be controlled. All in all you can realize your forging-related ideas with Mufog by Kubejs or Datapack. ## How to add a new forging recipe? ### With [Kubejs](https://modrinth.com/mod/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(, , , , ) ``` ### With Datapack There is only a example. ``` { "type": "mufog:forging", "ingredient": { "item": "minecraft:redstone_ore" }, "blueprint": { "item": "minecraft:redstone" }, "processtime": 5, "level": 1, "result": { "item": "minecraft:redstone", "count": 2 } } ``` ## In-game recipe display Mufog supports [REI](https://modrinth.com/mod/roughly-enough-items) & [EMI](https://modrinth.com/mod/emi) from mod version 1.0. ### REI ![Display in REI (part 1)](https://s2.loli.net/2023/01/11/Q4GbDPIvsHcrUKp.png) ![Display in REI (part 2)](https://s2.loli.net/2023/01/11/qtKR7zv1bX5Bcmj.png) ![Display in REI (part 3)](https://s2.loli.net/2023/01/11/XzhyQi7HlIpfuMn.png) ### EMI ![Display in EMI](https://s2.loli.net/2023/01/11/Zr3OXhPtFE64Umx.png)