Skip to content

AppliedJS

Add KubeJS compact for AE2

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Modify upgrade inventory for upgradeable machine

  • in startup_scripts
AE2Events.upgrades(event =>{
    event.addSlotSize("ae2:inscriber",4)
    event.addSlotSize("ae2:io_port",3)

    event.setMaxInstalledCount("ae2:speed_card","ae2:inscriber",8)
})

Add custom recipes with KubeJS

  • In server_scripts
ServerEvents.recipes(event =>{
    event.recipes.ae2.entropy(
        EntropyRecipe.mode("heat"),
        EntropyRecipe.createWithBlock("minecraft:smooth_stone").buildAsOutput(),
        EntropyRecipe.createWithBlock("minecraft:stone").buildAsInput()
    )
    
    event.recipes.ae2.entropy(
        EntropyRecipe.COOL,
        EntropyRecipe.createWithFluid("minecraft:water").buildAsOutput(),
        EntropyRecipe.createWithFluid("minecraft:flowing_lava").buildAsInput()
    )


    event.recipes.ae2.charger(
        "minecraft:obsidian",
        "minecraft:magma_block"
    )

    event.recipes.ae2.inscriber(
        InscriberRecipe.mode("press"),
        "minecraft:diamond",
        InscriberRecipe.inputs(
            "minecraft:coal_block",
            "minecraft:coal_block",
            "minecraft:coal_block"
        )
    )

    event.recipes.ae2.inscriber(
        InscriberRecipe.INSCRIBE,
        "minecraft:diamond",
        InscriberRecipe.inputs(
            "minecraft:diamond",
            "minecraft:coal_block",
            InscriberRecipe.empty()
        )
    )


    event.recipes.ae2.transform(
        TransformRecipe.EXPLOSION,
        "minecraft:sand",
                [
            "minecraft:gravel"
        ]
    )

    event.recipes.ae2.transform(
        TransformRecipe.fluid("minecraft:water"),
        "minecraft:sand",
        [
            "minecraft:gravel"
        ]
    )
})