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,080,635

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
GregTech Community Pack Modern GregTech Community Pack Modern Concatenation Concatenation Euphoric Curiosity Euphoric Curiosity Skyopolis: Evolved Skyopolis: Evolved Seaopolis 2 Seaopolis 2 Dragoncraft Dragoncraft All the Mods 10 Lite All the Mods 10 Lite Ice and Fire Magic Ice and Fire Magic Chosen's Create: Integrated Chosen's Create: Integrated Project -  Arcane Frontier Project - Arcane Frontier Chroma Sky 2 Chroma Sky 2 Solo Leveling - Shadows Solo Leveling - Shadows Reimagined Reimagined Stoneopolis Stoneopolis Roguelike Adventures and Dungeons 3 Roguelike Adventures and Dungeons 3 Caveopolis (Modpack) Caveopolis (Modpack) Sky Alchemy Sky Alchemy Opolis Inc Opolis Inc Cottage Witch: Recast Cottage Witch: Recast RandBlock RandBlock Izakji's Zombie Apocalypse II Izakji's Zombie Apocalypse II Menagerie - a zoo modpack Menagerie - a zoo modpack Create: Delight Remake Create: Delight Remake Modded Together Modded Together Beyond Ocean Beyond Ocean Techopolis Techopolis Sky FABRICation 3 Sky FABRICation 3 Vampires Strike Back Vampires Strike Back From Magic To Tech From Magic To Tech TerraFirma: Rebirth TerraFirma: Rebirth Tactical Survivor Tactical Survivor Forever Factory Forever Factory Another Quality Modpack 3 - AQM3 Another Quality Modpack 3 - AQM3 The Decursio Project - Expert The Decursio Project - Expert MC DripCraft MC DripCraft Harvest Moon "Halloween" Harvest Moon "Halloween" NeoTech Reborn NeoTech Reborn Prehistoric World 2 | Unusual Prehistory 2, Dinosaurs, Quests & More Prehistoric World 2 | Unusual Prehistory 2, Dinosaurs, Quests & More Mastering Magic | A Magic World with Quests! Mastering Magic | A Magic World with Quests! A Distant Journey A Distant Journey Fabri's Frontiers Fabri's Frontiers Create and Guns Create and Guns Agmundr - Zombie Apocalypse Agmundr - Zombie Apocalypse Tempest Protocol Tempest Protocol Resurvival Resurvival Stone Technology Stone Technology Wold's Vaults - Vault Hunters Expansion Wold's Vaults - Vault Hunters Expansion Sky Greg Sky Greg Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Tensura reincarnated Anime Tensura reincarnated Anime Fractured Opolis Fractured Opolis Chroma Technology 2 Chroma Technology 2 HazardousDaniel's Unlimited 2.0 HazardousDaniel's Unlimited 2.0 Solo Leveling - Reawakening Server (Solo Leveling Ultimate) Solo Leveling - Reawakening Server (Solo Leveling Ultimate) Zombie R.E.A.P Plague Against Your World. Zombie R.E.A.P Plague Against Your World. Create: Lost in Space Create: Lost in Space Create Colonies - AERONAUTICS Create Colonies - AERONAUTICS Calamycraft Calamycraft SkyT SkyT Lucky World Invasion - Hardcore Lucky World Invasion - Hardcore Create: Sky Factory Create: Sky Factory Apocalypssia     -    [TACZ] modern appocalyps zombie modpack Apocalypssia - [TACZ] modern appocalyps zombie modpack Endless Rise Remastered Endless Rise Remastered Protocol Zero - A Modern Zombie Apocalypse Protocol Zero - A Modern Zombie Apocalypse Prey: An Expansive RPG Nightmare Modpack Prey: An Expansive RPG Nightmare Modpack Echoes of Hyrule: The Ultimate Zelda Experience Echoes of Hyrule: The Ultimate Zelda Experience All the Mods - Slice of Pi2 - ATM SLOP2 - ATM6 Lite All the Mods - Slice of Pi2 - ATM SLOP2 - ATM6 Lite PandAce's World PandAce's World Aeronautics - Create Customised Aeronautics - Create Customised Immersive Pixelmon - A New Pokemon Era (with Distant Horizons, Pixelmon & Quests) Immersive Pixelmon - A New Pokemon Era (with Distant Horizons, Pixelmon & Quests) Skyopolis 5 Skyopolis 5 PixelBCG - A Pixelmon Modpack PixelBCG - A Pixelmon Modpack Palladium SuperHeroes Server Palladium SuperHeroes Server Izakji's Zombie Apocalypse Izakji's Zombie Apocalypse Beebeeblock_The_Skyhive Beebeeblock_The_Skyhive TerraFirmaCraft Experience TerraFirmaCraft Experience Exosphere 2 Exosphere 2 Ultimate Progression Ultimate Progression Requiem - BETTER FANTASY (The Last Act) Requiem - BETTER FANTASY (The Last Act) Azuria RockBlock 3 Azuria RockBlock 3 BeLoong BeLoong Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Kingdoms and Colonies Rebirth Kingdoms and Colonies Rebirth Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Compression Compression StonksCraft 2 StonksCraft 2 The Immersive Revolution: Rebirth The Immersive Revolution: Rebirth All the Mods - Gravitas - ATMG All the Mods - Gravitas - ATMG Fiefdom - Medieval Fantasy RPG Fiefdom - Medieval Fantasy RPG Just Create SMP 2 Just Create SMP 2 TRACING LIGHT · DARK TIDE TRACING LIGHT · DARK TIDE Valhelsia 7 Valhelsia 7 The Legend Of 2900 The Legend Of 2900 Werewolves VS Vampires SMP Werewolves VS Vampires SMP Holycube Revolution Holycube Revolution Cube Warper Cube Warper Create Live 6 Create Live 6 World Terra World Terra Create: Superflat Survival Create: Superflat Survival Ozone Skyblock Reborn 2 Ozone Skyblock Reborn 2

External Resources