HomeJavaModsKubeJS Powah
KubeJS Powah
ModsJava

KubeJS Powah

by BobVarioa · on CurseForge

Lets you modify the recipes of the Powah mod. Free Minecraft Java mod for 1.21.1, 1.20.1, 1.19.2.

⬇ Download on CurseForge

Allows you to create Energizing Orb recipe and modify various things from the Powah mod. The methods to do so are listed below.

 

ServerEvents.recipes(event => {
    // .energizing([inputs, ...], output, energy)
    event.recipes.powah.energizing(["minecraft:cobblestone"], "minecraft:tnt", 1000);
})

PowahEvents.registerCoolants(event => {
    // .addFluid(fluid, temperature)
    event.addFluid("minecraft:lava", -10);

    // item count here is not count consumed, but rather mb of coolant produced by 1 item
    // .addSolid(solid, temperature)
    event.addSolid(Item.of("minecraft:cobblestone", 1), -10);

    // .removeFluid(fluid)
    // .removeSolid(solid)
})

PowahEvents.registerHeatSource(event => {
    // .addBlock(block, temperature)
    event.addBlock("minecraft:cobblestone", 10);

    // .addFluid(fluid, temperature)
    event.addFluid("minecraft:water", 10);

    // .removeFluid(fluid)
    event.removeFluid("minecraft:lava")
})

PowahEvents.registerMagmaticFluid(event => {
    // .add(fluid, temperature)
    event.add("minecraft:water", 10);

    // .remove(fluid)
})

PowahEvents.registerReactorFuel(event => {
    // item count here is not count consumed, but rather mb of fuel produced by 1 item
    // .add(fuel, temperature)
    event.add(Item.of("minecraft:cobblestone", 100), 700);

    // .remove(fuel)
})

KubeJS Powah is a free Minecraft Java mod. Compatible with Minecraft 1.21.1, 1.20.1, 1.19.2. Downloaded 4,272,527 times (via CurseForge). Download it and open it directly in the game.

Explore more