Modscraper Modscraper Minecraft
KubeJS logo

KubeJS

Mod

by LatvianModder

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

Type

Mod

CurseForge Downloads

172,087,575

CurseForge ID

238086

Modrinth Downloads

22,734,442

Modrinth ID

umyGl7zF

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

Fabric Forge Neoforge Quilt

Game Versions

1.18.2 1.19 1.19.2 1.20.1 1.20.4 1.21 1.21.1 26.1.2

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (2,496)

Show fewer
MM3 MM3 Fallen World - Prehistoric Corruption Fallen World - Prehistoric Corruption Vought Craft Vought Craft BuildCraft X Create BuildCraft X Create Swords and Staffs Swords and Staffs Mine Piece: The Ultimate Journey Mine Piece: The Ultimate Journey Sky Technology Sky Technology Project One Project One Crescent: Wings of Berk Crescent: Wings of Berk Araxer's: Ages - Staged Survival Araxer's: Ages - Staged Survival tensura exploration tensura exploration KRILLKRAFT KRILLKRAFT Essentials:Create Essentials:Create DirtBlock DirtBlock Create: Industrialized Tech Create: Industrialized Tech The Ember Project The Ember Project Create Echoes of the Great Derailment Create Echoes of the Great Derailment Crafted Madness: Modern Era Crafted Madness: Modern Era The Fantasy Civilization The Fantasy Civilization Project Regrown Project Regrown Aeon Automata Aeon Automata After Humans Retouched+ After Humans Retouched+ [FFS] Fantastic Furry Syndicate [FFS] Fantastic Furry Syndicate DuskRising - Zombie Apocalypse DuskRising - Zombie Apocalypse Heartful Memories Heartful Memories Project Infinity - Infinite possibilities, one world Project Infinity - Infinite possibilities, one world Gambling addiction - Casino+ Pack Gambling addiction - Casino+ Pack Lost in the Backrooms Lost in the Backrooms Sen2's Grand Craft [One Piece] Sen2's Grand Craft [One Piece] Forest NOTHING Forest NOTHING MHA : Heroes Journey MHA : Heroes Journey Real RPG Real RPG A My Hero Academia Experience - Quirks Unchained A My Hero Academia Experience - Quirks Unchained From Spears to Gears From Spears to Gears W.M.D (Weapons, Monsters, and Dungeons) W.M.D (Weapons, Monsters, and Dungeons) ARKCraft ARKCraft Gun and Parasite (KOR) Gun and Parasite (KOR) Terra Enhance | How It Should Be Played Terra Enhance | How It Should Be Played FTB Unstable FTB Unstable Bearly Vanilla (Season 0) Bearly Vanilla (Season 0) StellarisWorkshop StellarisWorkshop SurShield Modification SurShield Modification ChillCraft  - Play Your Way, Chill Your Way ChillCraft - Play Your Way, Chill Your Way Fligcraft - TerraFirmaCraft Fligcraft - TerraFirmaCraft InsaneCraft S2 (Fan Made) InsaneCraft S2 (Fan Made) Cosmoblock Cosmoblock Endless cataclysm Endless cataclysm InteritusCraft (post-apocalyptic survival) InteritusCraft (post-apocalyptic survival) Void Genesis: The Quantum Abyss Void Genesis: The Quantum Abyss VAMPACK VAMPACK The Panda Foundry The Panda Foundry The Rise of Newstone Hollow The Rise of Newstone Hollow RE:Rotaria RE:Rotaria Void Nomad Void Nomad Aeroworks Aeroworks Berseria Sky Berseria Sky Create + Ribbits and MORE Create + Ribbits and MORE BGM BGM Apocalipse Light - A Zombie Apocalypse Survival Apocalipse Light - A Zombie Apocalypse Survival Floaty Creatoria Floaty Creatoria SkylandTraveler SkylandTraveler EMC Reach For The Stars EMC Reach For The Stars Tensura Reincarnated Life In Another World Tensura Reincarnated Life In Another World New Era: A One Piece Journey New Era: A One Piece Journey Realistic Minecraft - Frealism Realistic Minecraft - Frealism Pixelmon Beyond the Cobbleverse Pixelmon Beyond the Cobbleverse Sky XP Sky XP Block Ops - Warfare Block Ops - Warfare MC EXPEDITIONS MC EXPEDITIONS war for the omnitrix war for the omnitrix Create: Industrial Craft Create: Industrial Craft Artifice & Industry Artifice & Industry FPSCraft for More FPS FPSCraft for More FPS World War Z - Warden Edition World War Z - Warden Edition Friendgroup create server Friendgroup create server Reign of Nether: Better Edition Reign of Nether: Better Edition Create Mod Skyblock Create Mod Skyblock BigChadGuys Plus (w/Cobblemon) // Wommii's Version BigChadGuys Plus (w/Cobblemon) // Wommii's Version Touhou Little Maid - Feed & Breed Touhou Little Maid - Feed & Breed Reclamation - Hardcore Edition Reclamation - Hardcore Edition Dragons & Rats Dragons & Rats Authentic Skies Create Authentic Skies Create Friends United 2.1 Friends United 2.1 OmniVerse Reborn OmniVerse Reborn Journey Watch YTZ Journey Watch YTZ Horizon (New Dawn) Horizon (New Dawn) Tensura Pandemonium Official Tensura Pandemonium Official Cobblemon Homestead Cobblemon Homestead Superflat Create Superflat Create Rise of the Ottomans Rise of the Ottomans Monumental Experience - NeoForge Monumental Experience - NeoForge Forge of Eternity Forge of Eternity Bucket SMP - Bucket O' Magic Bucket SMP - Bucket O' Magic Dino World - Jurassic Adventures Dino World - Jurassic Adventures The Last Frontier | A Western Experience The Last Frontier | A Western Experience Matti's Skyblock Matti's Skyblock Create - Create 6.0.8 - Create VS Clockwork Create - Create 6.0.8 - Create VS Clockwork Create: Reatomized! Create: Reatomized! Sacred Logistics Sacred Logistics Yes Nicer MC [Fabric] YNM Yes Nicer MC [Fabric] YNM

External Resources