Mekanism integration for KubeJS. See Recipes page for more info.
Supported recipe types:
- crushing
- enriching
- smelting
event.recipes.mekanismCrushing(output, input)
- combining
event.recipes.mekanismCombining(output, input1, input2)
- compressing
- purifying
- injecting
event.recipes.mekanismPurifying(output, inputItem, inputGas)
- metallurgic_infusing
event.recipes.mekanismMetallurgicInfusing(output, inputItem, infusionInput, infusionAmount)
- sawing
event.recipes.mekanismSawing(output, input, extraOutput)
Examples:
event.recipes.mekanismCrushing('minecraft:stick', 'minecraft:oak_planks')
event.recipes.mekanismCombining('minecraft:golden_apple', 'minecraft:apple', 'minecraft:gold_ingot')
event.recipes.mekanismPurifying('minecraft:obsidian', 'minecraft:lava_bucket', {gas: 'mekanism:oxygen', amount: 200})
event.recipes.mekanismMetallurgicInfusing('minecraft:comparator', 'minecraft:nether_quartz', 'mekanism:redstone', 20)
event.recipes.mekanismSawing('minecraft:redstone', 'minecraft:brick', item.of('minecraft:clay').chance(0.3))