mirror of
https://git.fellies.tech/minecraft/fellies.git
synced 2021-02-13 10:18:48 +00:00
17 lines
475 B
JavaScript
17 lines
475 B
JavaScript
// priority: 10
|
|
|
|
events.listen('recipes', function (event) {
|
|
|
|
// Add a recipe to both furnace and blast furnace.
|
|
const smeltAndBlast = (output, input, xp) => {
|
|
event.smelting(output, input).xp(xp)
|
|
event.blasting(output, input).xp(xp)
|
|
}
|
|
|
|
// Create
|
|
smeltAndBlast(Item.of('mekanism:ingot_copper', 1), 'create:crushed_copper_ore', 0.1)
|
|
|
|
// Immersive Engineering
|
|
smeltAndBlast(Item.of('immersiveengineering:ingot_silver', 1), '#forge:dusts/silver', 0.35)
|
|
})
|