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
Mechanical Infinity Mechanical Infinity Extraordinary Energy : Modern Extraordinary Energy : Modern The Clash of Epochs The Clash of Epochs Steller: The Rise of the Kingdom Steller: The Rise of the Kingdom TJP - Endless Sky TJP - Endless Sky Crashed Crashed Stone in Sky Stone in Sky MC UFC: Mágico MC UFC: Mágico CraftSouls by Izakji CraftSouls by Izakji Beyond Crazycraft Beyond Crazycraft Devouring The World Devouring The World GregTech:New Beginnings GregTech:New Beginnings ChunkBound ChunkBound GregFactory Sky GregFactory Sky Create: Clockwork+ [Forge] Create: Clockwork+ [Forge] Gloomy  Rise Gloomy Rise CobblemonOneBlock CobblemonOneBlock Reverie Foundry Reverie Foundry Gregnautics Gregnautics Moonstruck's Rebirth - A Better Cozy Experience Moonstruck's Rebirth - A Better Cozy Experience A New Technological Era A New Technological Era Rise of Tech 2 Rise of Tech 2 [MODIFIED] Cobblemon: Essentials [MODIFIED] Cobblemon: Essentials Servidor Magnatas Servidor Magnatas SharpSharp RPG SharpSharp RPG Cursed Project - Zombie Apocalypse Cursed Project - Zombie Apocalypse Z Apocalypse - A Modern Zombie Apocalypse Z Apocalypse - A Modern Zombie Apocalypse Greg's Tardis Greg's Tardis Finality Industries - Omnia Finality Industries - Omnia Infinity Foundation Infinity Foundation Realm of Destiny Realm of Destiny A little bit of Shaders and More A little bit of Shaders and More Unique-Social Build Your City 2 Unique-Social Build Your City 2 Project Minecolonies United Project Minecolonies United Chaos OneBlock Chaos OneBlock Create: Basically Everything Create: Basically Everything Create Optimized [FORGE] Create Optimized [FORGE] New Age Science and Technology hard New Age Science and Technology hard EMC & FE +++ EMC & FE +++ Era Do Futuro 2025 Era Do Futuro 2025 Tech Spirit Tech Spirit Feed the Singularity Feed the Singularity Farmystique: Farming & Magic Farmystique: Farming & Magic Immersive Engineering+ Immersive Engineering+ Lucky UHC Lucky UHC Create: Above and Beyond NEW Create: Above and Beyond NEW Dazzle Craft II Dazzle Craft II Arrzee Superhero Survival Arrzee Superhero Survival Blocks Of The Sky Blocks Of The Sky BeanPack: Regurgitated BeanPack: Regurgitated Train Yard Train Yard Beyond Zombie Beyond Zombie Zuri's Heroes pack Zuri's Heroes pack HyCraft - Fantasy and RPG (Inspired by Hytale) | Hytale in Minecraft with Quests HyCraft - Fantasy and RPG (Inspired by Hytale) | Hytale in Minecraft with Quests FreshCraft Fantasy DLC FreshCraft Fantasy DLC Void Genesis Void Genesis Egged Up Egged Up QSMP 2 Community Edition QSMP 2 Community Edition Jaffa Factory 2 Jaffa Factory 2 Legends Reborn: Medieval (LRM) Legends Reborn: Medieval (LRM) QSMP 2024 FANMADE QSMP 2024 FANMADE OPSkies 2 OPSkies 2 Creative Drawers Producer 2 Creative Drawers Producer 2 Star Space Ages Star Space Ages Cozy Meadows Cozy Meadows Comes Alive & The Autumn Days Comes Alive & The Autumn Days MOXCRAFT MOXCRAFT Path of Truth Path of Truth GregTech New Frontier GregTech New Frontier MultiSkyBlock 2 MultiSkyBlock 2 UMA New World UMA New World Plastek 2 Plastek 2 Horizon (RU) Horizon (RU) Create Sky Industrie´s Create Sky Industrie´s [DD&D] Dungeons Dragons & Dimensions [DD&D] Dungeons Dragons & Dimensions Project Create 1.20 Project Create 1.20 Twilight Twilight Mystical Block 2 Mystical Block 2 Time 2 Time 2 Civilization-L Civilization-L Farmer's Frenzy | A New Farming Experience Farmer's Frenzy | A New Farming Experience Create: Above and Beyond, And Then Some! Create: Above and Beyond, And Then Some! Tardis + Mahou Tsukai and more Tardis + Mahou Tsukai and more Create Aeronautics Expanded Create Aeronautics Expanded [MCMV] Modern Military Event Modpack [MCMV] Modern Military Event Modpack Elden Kingdom Elden Kingdom Compact World Expert Compact World Expert Kingdom of Elchea Kingdom of Elchea Smug Anime Girls Smug Anime Girls Community Community HeroCraft made by DieAvengers3 HeroCraft made by DieAvengers3 Realm of the Titans Realm of the Titans Calamity RPG LITE: The Modern Forge RPG Adventure ! Calamity RPG LITE: The Modern Forge RPG Adventure ! VORTEX Foundations VORTEX Foundations FreakLand FreakLand Inclusive Inclusive [One Piece] New Pirates [One Piece] New Pirates Maul The Odds - MTO Maul The Odds - MTO The Warborn Realms SMP The Warborn Realms SMP Dimensional Cultivation Dimensional Cultivation

External Resources