Modhold
Minecraft
Freev2001.6.5-build.26+fabric

KubeJS

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

Lat4 @LatCredited author
0Unique downloads
23.2MDownloads, all sites
2Views
0Vouches
–no scores yetScore
Shared under its open licence (LGPL-3.0-only)
Made by Lat. Its licence lets anyone share it, with credit. See the proof · Original page · Are you Lat?
About this modWritten by Modhold staff

KubeJS lets you script the game in JavaScript: change recipes and tags, add custom items and blocks, react to world events and tune worldgen. It is aimed at pack makers and server owners.

Kind
Scripting mod
Version
2001.6.5-build.26+fabric
Installs with
The Modhold app

What it does

  • Startup scripts register items and set up configs
  • Server scripts run when you join a world, useful for messages and clean-up
  • Scripts can be refreshed with /reload
  • Generates a kubejs folder with example scripts on first launch

How to install

  1. Press Install on this page, or in the Modhold app.
  2. Launch once so the kubejs folder appears.
  3. Put your scripts in that folder; you also need the Rhino and Architectury entries.
The author’s description by Lat, shared word for wordRead it

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

Install

Put the .jar file in your Minecraft mods folder (with Fabric Loader or Forge installed for that Minecraft version), then start the game.

Requirements

New to Minecraft mods? Read how to install Minecraft mods.

Credits

Lat (Member). Original page: https://modrinth.com/mod/kubejs

Permissions

Open licence: LGPL-3.0-only. Source code: https://github.com/KubeJS-Mods/KubeJS. Original page: https://modrinth.com/mod/kubejs. Shared on Modhold under that licence and credited to its authors; the files are unchanged.

Permission proof

Why this mod is on Modhold

The mod's original page, where it says what the mod is:

The top of the mod's original page: its name, author and details

This mod is released under an open licence, LGPL-3.0-only, which lets anyone share it as long as its authors are credited and the licence comes with it. Its source code: github.com/KubeJS-Mods/KubeJS · The licence

Captured 20 Nov 2026 from the original page. The author can claim this page, or have it taken down, at any time.

Before you download

This mod needs other mods

KubeJS needs these to work. Download and install them too.

Required 3