Back to mods
KubeJS Roots project artwork

CurseForge · Minecraft mod

KubeJS Roots

Adds KubeJS support for the Roots Classic

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which KubeJS Roots release should I use?

Updated 2 years ago
Latest stable file KubeJS Roots-1.0.0.jar
Game version 1.21.1
Loader NeoForge

KubeJS Roots-1.0.0.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 4 required mods have matching files.

Where it goes

Is KubeJS Roots required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does KubeJS Roots-1.0.0.jar need?

KubeJS Roots-1.0.0.jar. Change the file and its required mods may change too.

All 4 required mods have matching files

Install KubeJS, Roots Classic, Better Advanced Tooltips, Rhino first. We found matching files for this game-version and loader setup. 6 come through another mod in the chain.

2 listed on this file 6 pulled in by those mods
KubeJS Needed by KubeJS Roots-1.0.0.jar
required
Matching file found Matched file: KubeJS NeoForge 2101.7.2-build.381
Roots Classic Needed by KubeJS Roots-1.0.0.jar
required
Matching file found Matched file: RootsClassic-1.21.1-1.5.10.jar
Better Advanced Tooltips Needed by KubeJS
pulled in
Matching file found Matched file: better-advanced-tooltips-2101.1.0-build.5.jar
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino 2101.2.7-build.85
Just Enough Items (JEI) Needed by Roots Classic
pulled in
Matching file found Matched file: 19.76.1.481 for NeoForge 1.21.1
CraftTweaker Needed by Roots Classic
pulled in
Matching file found Matched file: CraftTweaker-neoforge-1.21.1-21.0.38.jar
MezzConfigGUI Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig GUI mc1.21.1-0.7.1 for NeoForge
MezzConfig Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig 0.7.1 for NeoForge 1.21.1

6 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add KubeJS Roots without breaking your instance.

Built for KubeJS Roots-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use KubeJS Roots-1.0.0.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install KubeJS, Roots Classic, Better Advanced Tooltips, Rhino first. We found matching files for this game-version and loader setup. 6 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside KubeJS Roots-1.0.0.jar. It opens that exact file at the source.

About this project

What does KubeJS Roots add?

KubeJS Roots

Adds support for Roots Classic in 1.21 including recipes, and custom rituals, spells, and mutations.

Recipes

ServerEvents.recipes(event => {
    let { rootsclassic } = event.recipes

    // Creates a ritual recipe for the grow ritual
    rootsclassic.ritual('rootsclassic:grow',
        ['bone_meal', 'apple'], // Input ingredients
        ['bone', 'porkchop'],   // Incense items to burn
        0, '#aabbcc'              // Altar level and color
    )

    // Creates a mortar recipe
    rootsclassic.component(
        'minecraft:tnt',        // Output item
        ['gunpowder', 'gunpowder', 
        'gunpowder', 'gunpowder'],// Input ingredients
    )

    // and a spell powder recipe
    rootsclassic.component(
        'rootsclassic:spell_powder',  // Spell powder item to record effect data
        ["oak_button", "oak_button", 
        "oak_button", "oak_button"],// Input ingredients
        'kubejs:boom',                  // The spell to apply to the powder
        true                            // Needs to be true for spell recipes
    )
})

Custom Ritual

StartupEvents.registry('rootsclassic:ritual', event => {
    event.create('big_boom')
        // The effect that will be run when the ritual is completed
        .ritualEffect(context => {
            let { level, pos } = context;
            level.createExplosion(pos.x, pos.y, pos.z)
                .strength(8)
                .explosionMode('tnt')
                .causesFire(true)
                .explode()
        })
})

When you perform a ritual in the altar, it runs with the following steps:

  1. Started count down for the progress time (Think it as some kind of CD or process time)
  2. Run the ritual effect

Custom Spell

StartupEvents.registry('rootsclassic:component', event => {
    event.create('boom')
        .sourceItem('acacia_boat')
        .manaCost(8)                // 2 leaves in the bar
        .spellEffect(context => {   // The effect that will be run when the spell is cast
            let { caster, level } = context
            level.createExplosion(caster.x, caster.y, caster.z)
                .strength(4)
                .causesFire(true)
                .explode()
        })
})

Custom Mutation

RootsEvents.mutagen(event => {
    // Mutating a dandelion into a TNT block
    event.add('kubejs:test', "minecraft:tnt", "minecraft:dandelion", builder => {
        // Extra items to be thrown near the dandelion
        builder.inputs('acacia_button')
        // The effect that will be run if the mutation is successful
        builder.onCrafted((block, player) => player.potionEffects.add('regeneration', 1000, 0))
        // Additional conditions to be met for the mutation to be successful
        builder.matches((items, block, player) => player.xpLevel > 10)
    })
})

Project description from CurseForge.

Pick your setup

KubeJS Roots by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

KubeJS Roots versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.