your current location:首页 > news>Use Kubejs to derive Alloy Forgery's smelting furnace formula and smelting furnace fuel Alloy Forgery Minecraft Gam

Use Kubejs to derive Alloy Forgery's smelting furnace formula and smelting furnace fuel Alloy Forgery Minecraft Gam

2024-12-10 17:52:44|Myriagame |source:minecraft skins

This tutorial is set by the author's setting without permission.

Alloy Forgery is a very lightweight Fabric module, which only adds a multi -block structure that can be used for smelting metals

But this module has no other content except the original and mythical metals.

Then I will use Kubejs to add the formula of the smelting furnace and the fuel of the smelting furnace, add more color to the addition of Alloy Forgery!

Smelting furnace smelting formula


 serverEvents.Rcipes (event => {// only limited to 1.19 or more, please use OneVENTS below 1.19

Event.custom ({{

"Type": "ALLOY_FORGERY: Forging", // Formula type, this is the formula of the smelting furnace of this module

"Inputs": [// Enter the item, the Item here can be switched to TAG

{"Item": "mythicmetals: aquarium_ingot"}, // mythical metal water ingots ingots

{"Item": "wizards_reborn: Arcanum"}, // Wizards Reborn's secret crystal

{"Item": "gobber2: gobber2_glob"}, // Gobob 2 of Gobo 2

{"Item": "Minecraft: Diamond"} // Original Diamond],

"OUTPUT": {// Output items, note that "item": "xx" cannot be used here

"ID": "Gobber2: Gobber2_INGOT", // Gobber 2's Gobo ingot

"Count": 1 // The number of output items, the range of the value is 1-64

},

"Overrides": {// The level of smelting furnace, the following "2" represents level 2 smelting furnace, and can be represented by "2+" above level 2 or above

"2": {

"ID": "Gobber2: Gobber2_INGOT", "Count": 2 // Number, here refers to the quantity that the above recipes can produce when smelting at level 2 smelting furnaces.

},

"3+": {{

"ID": "Gobber2: Gobber2_INGOT",

"Count": 3

}

},

"Min_Forge_tier": 1, // The minimum smelting furnace needs. Here it means that at least 1 level of smelting furnace is required to smell this formula

"Fuel_per_tick": 100 // The fuel (heat value) consumed by the furnace every moment, a bucket of lava is 24000J

})

})

This is a simple smelting furnace formula. After/RELOAD, you can use jei/emi to query the formula ↓

Add new smelting furnace fuel

 event.custom ({"fuels": [

{{


"Item": "Minecraft: LAVA_BUCKET", // Input items: Original magma barrel

"Return_item": "Minecraft: BUCKET", // The items returned

"Fuel": 24000 // Hot value

}, // Use a magma barrel to right -click the smelting furnace controller and return the iron barrel. The smelting furnace increases the heat value of 24,000J.

{{

"Item": "Minecraft: Coal",

"Fuel": 1000

}]

})

After/RELOAD, you can't find a formula that can add thermal value to the smelting furnace in Jei/EMI, you need to try it yourself ...