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
Castaway - Island Survival Castaway - Island Survival Delta's Just Give Me Features Delta's Just Give Me Features TFC Evolved TFC Evolved Cheese Block Cheese Block Create on a Potato PC: Sky Edition Create on a Potato PC: Sky Edition Craftformers Official Server Modpack Craftformers Official Server Modpack FabrikaCraft S3 FabrikaCraft S3 Summoner Delight Summoner Delight Miraculous SMP Miraculous SMP Aeronautics Dream Aeronautics Dream WitchHazel Halloween Magic WitchHazel Halloween Magic Deceased Craft But Better Deceased Craft But Better PixelGO - To the Sky 2 PixelGO - To the Sky 2 AVENTURA - The Adventure Experience AVENTURA - The Adventure Experience Create: Applied Energevation Create: Applied Energevation Create The Ultimate warfare Create The Ultimate warfare Factory Of Singularity:Community Edition Factory Of Singularity:Community Edition Armageddon [Official Modpack] Armageddon [Official Modpack] PROJECT: Keyblade - An Oath to Return PROJECT: Keyblade - An Oath to Return Souls SMP Series Souls SMP Series Create Conquest Arcane Create Conquest Arcane The Skies of Newstone Hollow The Skies of Newstone Hollow Crazycrafting For The Crazycrafting Server Crazycrafting For The Crazycrafting Server Ars Expeditions Ars Expeditions Wither Storm: Living on the Run Wither Storm: Living on the Run Pirates on a Boat Pirates on a Boat Astral Adventures: Beyond the Horizon Astral Adventures: Beyond the Horizon Sandbox in a Vacuum I SiaV Sandbox in a Vacuum I SiaV MHAC - My Hero Academia Craft MHAC - My Hero Academia Craft Easy Create Easy Create Hungry For Tech 2 Hungry For Tech 2 The Valley - Sunlit Valley Expanded The Valley - Sunlit Valley Expanded Concatenation Lite Concatenation Lite Beyond Cosmos Beyond Cosmos MekaMiners Brasil MekaMiners Brasil GregTech Easy GregTech Easy Gambling Craft Gambling Craft BigStarGuys - BigChadGuys x Cobblemon Star Academy BigStarGuys - BigChadGuys x Cobblemon Star Academy Creative Mode: A Create Experience Creative Mode: A Create Experience Create: Beyond Earth Create: Beyond Earth Cobblemon Realms Lite Cobblemon Realms Lite Random Item Automation Random Item Automation MC HardcoreZ MC HardcoreZ Au Naturel Au Naturel Equinox's Story Mode (MCSM) Equinox's Story Mode (MCSM) RunNGun -  100 Days Zombie Apocalypse RunNGun - 100 Days Zombie Apocalypse Create: World of Engineers - WOE | QUESTS! Create: World of Engineers - WOE | QUESTS! Multiversal Archaeology Multiversal Archaeology Benji's StardewCraft - Farming and Town Management Benji's StardewCraft - Farming and Town Management Quantum Skies Quantum Skies All The Neoforge All The Neoforge Create: Spectral Cuisine Create: Spectral Cuisine Create: Mostly Create Create: Mostly Create SimplePack 4 SimplePack 4 Luminary Cove Luminary Cove Rick's Portal Gun - Official Server Pack Rick's Portal Gun - Official Server Pack Create - Ultimate OneBlock Create - Ultimate OneBlock ANTIMATTER FACTORY ANTIMATTER FACTORY Lucky World Invasion - Survivor Lucky World Invasion - Survivor Stargate: ReLeveled Stargate: ReLeveled Stormforge: Never Ending Rain! Stormforge: Never Ending Rain! Perdidos em Marte - Fanmade Perdidos em Marte - Fanmade Unlimited Sky Resources Unlimited Sky Resources Conquest of the Bleak Isles Conquest of the Bleak Isles Folklore SMP Folklore SMP Penumbralcraft Penumbralcraft Hexwoven Hexwoven Jujutsucraft Arai Jujutsucraft Arai Tensura Tomfoolery Tensura Tomfoolery Literally All of Create Literally All of Create PS Homegrown - Sunlit Valley PS Homegrown - Sunlit Valley Izakji's Zombie Apocalypse II Lite Izakji's Zombie Apocalypse II Lite Level Border 2.0 Level Border 2.0 The Modded Rizoma MC The Modded Rizoma MC CordCraft Season 4 CordCraft Season 4 AdvoTech JJThunder AdvoTech JJThunder Skytisfactory Skytisfactory Tinker's Tavern: Cobblemon Tinker's Tavern: Cobblemon SLG: Best of Terramity SLG: Best of Terramity Minecolonies Create - Aeronautics Colonies Minecolonies Create - Aeronautics Colonies Minenufactory Minenufactory Compact Sky: Easy Compact Sky: Easy Tensura Resurrection Tensura Resurrection Wellspring Adventures 2 (SMP) Wellspring Adventures 2 (SMP) Monumental Experience - In space Monumental Experience - In space Beyond Elysium Beyond Elysium AdventureCrafts [Fabric] AdventureCrafts [Fabric] Explore Everything Explore Everything SkyPlus (w Cobblemon) SkyPlus (w Cobblemon) The Createville Pack The Createville Pack Create: Ultimation Create: Ultimation Revelations 3 - just Tech N' building! Revelations 3 - just Tech N' building! Bloody Skyblock Bloody Skyblock Demon's Tech, Magic and Superheroes Demon's Tech, Magic and Superheroes Monster Hunter Monster Hunter Picky Picky Born in Hell - Vampires Born in Hell - Vampires Ben 10 100 Days Survival Ben 10 100 Days Survival From the wonderland.jar From the wonderland.jar ForgottenWinter_legacy ForgottenWinter_legacy

External Resources