KubeJS
Modby LatvianModder
Edit recipes, add new custom items, script world events, all in JavaScript!
Type
Mod
CurseForge Downloads
172,105,789
CurseForge ID
Modrinth Downloads
22,734,442
Modrinth ID
Last Updated
Nov 7, 2026
Description
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
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Just Enough Items (JEI)
View Items and Recipes
Cloth Config API (Fabric/Forge/NeoForge)
Config Screen API for Minecraft
Mouse Tweaks
Enhances inventory management by adding various functions to the mouse buttons.
Fabric API
Core API library for the Fabric toolchain
AppleSkin
Adds some useful information about food/hunger to the HUD
GeckoLib
A 3D animation library for entities, blocks, items, armor, and more!
Included in Modpacks (2,496)
Show fewer
LividJava's Create Tempered
Hug Trees With Gromit
Belts & Beyond
InventMC Modpack
Aeronautics: Complete Warfare
CREATE HUB
create ultimate+ by drkum
Blad Pack
Artilide
Forever Building
SporeBlock
Hardcore x Create
TLSS Modpack
DriedFlower
Era do Panado II
Create++
Airborne
Create Foreseen
Mine & blade
Recreative Reborn
Novan
CATACLYSMIC CHRONICLES
Create Aero Mobile Cities
Valderheim
Creators Wilds
Darkness Overhaul
Airworks
Create: Horizons
DarkMetaKnight's Adventure Pack
Malficarum
WonderCraft Server Modpack
AshTech
Goober_cave_modpack


