
This mod allows you use KubeJS to add/remove fluid/solid coolants, heat sources, and magmatic fluid for Powah
ServerEvents.recipes(event => {
//.energizing([inputs, …], output, energy)
event.recipes.powah.energizing(["minecraft:cobblestone"], "minecraft:tnt", 1000)
})
PowahEvents.coolants(event => {
//.addFluid(fluid, coolness)
event.addFluid("minecraft:lava", 10)
//.removeFluid(fluid)
event.removeFluid("minecraft:water")
// .addSolid(itemstack, coolness)
event.addSolid("minecraft:cobblestone", 10)
//.removeSolid(itemstack)
event.removeSolid("minecraft:cobblestone")
})
PowahEvents.heatSource(event => {
//.add(block, hotness)
event.add("minecraft:cobblestone", 10)
//.remove(block)
event.remove("minecraft:magma_block")
})
PowahEvents.magmaticFluid(event => {
//.add(fluid, hotness)
event.add("minecraft:water", 10)
//.remove(fluid)
event.remove("minecraft:lava")
})