ModsFinder

KubeX

by wheedo07

KubeX is a NeoForge library for building KubeJS scripts in a dedicated workspace, with source-level debugging and typings for scripts written in JavaScript or TypeScript.

NeoForgeClient required, server optionalMIT LicenseOpen source1.21.1

What it does

The mod provides a development toolkit for KubeJS. It sets up a workspace under kubejs/ where scripts are kept as source, built with esbuild, and converted to the output that Rhino runs, then synchronized into the final game files. Rhino compatibility is handled in a post-processing step, so scripts written in TypeScript behave the way they do in the game.

During development, source maps link runtime errors back to the original lines, and a debug mode reports errors raised inside callbacks. A kubex doctor command checks the workspace, and the rebuild sync can run when the game server starts. ProbeJS, an optional dependency, supplies typings and editor metadata, and KubeX copies the .probe files, .vscode settings and jsconfig.json into the workspace so the editor can use them. Exported JAR files include the processed scripts, assets and data, and a small plugin loads them. Such a JAR requires both KubeJS and KubeX.

Key features

  1. JavaScript and TypeScript workspace

    Scripts can be written in JavaScript or TypeScript and built into the form that KubeJS loads.

  2. Source map support

    Errors point back to the original source lines instead of the compiled output, which makes script problems easier to trace.

  3. Debug mode for callbacks

    A debug mode reports errors raised inside callbacks, so failures in event handlers are visible during development.

  4. Editor typings

    With ProbeJS installed, the workspace receives typings, editor metadata and a jsconfig.json file for autocomplete.

  5. Exportable script packs

    Processed scripts, assets and data can be packed into a JAR that a small plugin loads at startup.

Compatibility

Latest build for each game version and loader.

1.21.11.21.1-0.0.9-neoforge
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

RhinoA fork of Mozilla's Rhino library, modified for use in mods
Required
KubeJSEdit recipes, add new custom items, script world events, all in JavaScript!
Required

Optional 1

ProbeJSSupercharging your modpack experience.
Optional

How it compares

Full comparison

Box3JS is an open source NeoForge library for 1.21.1, licensed under the Apache License 2.0, and it works on the client or the server, with either side optional. NeoGeckoJS is a NeoForge library for 1.21.1 under a custom license that is not open source, and it must be installed on both the client and the server. KubeX is open source under the MIT License, supports NeoForge 1.21.1 only, and the client requires it while the server may skip it.

ModLoadersGame versionsEnvironmentUpdated
KubeXNeoForge1.21.1Client required, server optional2026-10-09
Box3JSNeoForge1.21.1Client or server, optional2026-05-22
NeoGeckoJSNeoForge1.21.1Client and server2026-06-15

Questions

Does KubeX need KubeJS?

Yes. KubeJS is a required dependency, and Rhino is required too. Exported JAR files also require KubeJS and KubeX.

Does the server need KubeX installed?

No. The mod is needed in the player's game, and the server may leave it out.

What does ProbeJS add?

ProbeJS is optional. When it is installed, it supplies typings and editor metadata that KubeX copies into the workspace.

Which game versions does KubeX support?

The mod is published for 1.21.1 only, with the latest NeoForge file being 1.21.1-0.0.9-neoforge.

In the catalog

KubeX is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 32,366 mods support Minecraft 1.21.1.

Similar mods

What the author says

KubeX is a development workspace for KubeJS. It keeps your source code in kubex/, builds it with esbuild, converts the output for Rhino/KubeJS, and synchronizes the final files into kubejs/.
wheedo07, on the Modrinth page

Official listing

Owner
wheedo07
Published
2026-07-23
Updated on Modrinth
2026-10-09
Facts verified
2026-10-15

Tags