KubeJS Oritech
ModMIT

KubeJS Oritech

Allows KubeJS to create Oritech recipes.

275
Downloads
3
Followers
3 months ago
Updated
📦
1
Versions

📖About KubeJS Oritech

Allows KubeJS to create Oritech recipes. The provided methods are displayed below.

ServerEvents.recipes(event => {

    event.recipes.oritech.pulverizer(
        'minecraft:sponge',    // Item Output
        'minecraft:coal_block'    // Item Input
    ).time(100)  //ticks

    event.recipes.oritech.grinder(
        'minecraft:sponge',    // Item Output
        'minecraft:iron_block'    // Item Input
    ).time(80)  //ticks

    event.recipes.oritech.assembler(
        'minecraft:sponge',    // Item Output
        ['minecraft:iron_ingot', 'minecraft:iron_ingot', 'minecraft:iron_ingot']    // Item Input
    ).time(120)  //ticks

    event.recipes.oritech.centrifuge(
        ['minecraft:sponge', 'minecraft:sponge'],     // Item Outputs
        'minecraft:gravel'    // Item Input
    ).time(60)  //ticks

    event.recipes.oritech.foundry(
        'minecraft:sponge',     // Item Output
        ['minecraft:gold_ingot', 'minecraft:diamond']    // Item Input
    ).time(200)  //ticks

    event.recipes.oritech.laser(
        'minecraft:sponge',     // Item Output
        'minecraft:sand'    // Item Input
    ).time(40)  //ticks

    event.recipes.oritech.atomic_forge(
        'minecraft:sponge',     // Item Output
        ['minecraft:diamond', 'minecraft:emerald', 'minecraft:gold_block']    // Item Input
    ).time(300)  //ticks

    event.recipes.oritech.particle_collision(
        'minecraft:sponge',     // Item Output
        ['minecraft:ender_pearl', 'minecraft:blaze_powder']    // Item Input
    ).time(400) //  For this specific recipe type, "time" represents minimum collusion.

    event.recipes.oritech.refinery(
        [],      // Item Output - But since Refinery cannot output any items, it should remain empty.
        [FluidOutput.of('minecraft:water', 500), FluidOutput.of('minecraft:lava', 250)],    // Fluid Output
        ['minecraft:coal', 'minecraft:redstone'],    // Item Input
        FluidInput.of('oritech:still_naphtha', 1000)    // Fluid Input
    ).time(120)  //ticks

    event.recipes.oritech.cooler(
        'minecraft:sponge',    // Item Output
        [],     // Fluid Output, but it should remain empty because this machine doesn't have a fluid output.
        [],     // Item Input, but it should remain empty because this machine doesn't have a item input.
        FluidInput.of('minecraft:lava', 1000)     // Fluid Input
    ).time(60)  //ticks

    event.recipes.oritech.centrifuge_fluid(
        'minecraft:sponge',    // Item Output
        [FluidOutput.of('minecraft:water', 200)],    // Fluid Output
        'minecraft:sugar',    // Item Input
        FluidInput.of('minecraft:water', 500)    // Fluid Input
    ).time(80)  //ticks

})