Back to mods
KubeJS project artwork

CurseForge · Minecraft mod

KubeJS

Edit recipes, add new custom items, script world events, all in JavaScript!

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

Quick answer

Which KubeJS release should I use?

Updated 8 days ago
Latest stable file 2101.7.2-build.368
Game version 1.21, 1.21.1
Loader NeoForge

KubeJS 2101.7.2-build.368 targets 1.21, 1.21.1 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

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

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
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 marks this as usable on both the client and server.

What else does KubeJS 2101.7.2-build.368 need?

2101.7.2-build.368. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Rhino first. We found matching files for this game-version and loader setup.

Rhino Needed by KubeJS 2101.7.2-build.368
required
Matching file found Matched file: 2101.2.7-build.77+Rhino-1.21

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 without breaking your instance.

Built for KubeJS 2101.7.2-build.368. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2101.7.2-build.368. It targets 1.21, 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Rhino first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2101.7.2-build.368. It opens that exact file at the source.

About this project

What does KubeJS add?

KubeJS


What does this mod do?

This mod lets you create scripts in JavaScript language to manage your server, add new blocks and items, change recipes and tags, add custom handlers for quest mods, change worldgen and more!

How to use it?

Run the game with mod installed once. It should generate kubejs folder in your minecraft directory with example scripts. startup scripts only get run once when the game loads. Those are for registering items, setting up configs etc. Server/data scripts are loaded when you join a world, those are better for things like clearlag, displaying custom login messages and world/player related things in general.

Video tutorial for 1.19.2

Can I reload scripts?

Yes, use /reload. Note: Not everything is reloadable. Some things require you to restart game, some only world, some work on fly.

I don't know JavaScript / I need help with this mod!

There's examples and pre-made scripts on KubeJS Wiki.

I have a question / suggestion / bug report!

If wiki didn't have the answer for what you were looking for, you can ask questions, make feature suggestions and report bugs here: KubeJS Support

Project description from CurseForge.

Pick your setup

KubeJS by Minecraft version and loader

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

7 available setups

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

Recent files

KubeJS versions and loaders

51 of 51 releases match

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