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
Aeropolis Aeropolis All the Mods 7 Lite - Spark - ATM7L All the Mods 7 Lite - Spark - ATM7L Crazy Crave 5 Crazy Crave 5 Factorio ChunkByChunk Online (OxMODPACK) Factorio ChunkByChunk Online (OxMODPACK) Create Sky Colonies - Valkyrian Skies X Create 6.0 Create Sky Colonies - Valkyrian Skies X Create 6.0 More Animals 2 - Exclusive Edition with Animals Quests! More Animals 2 - Exclusive Edition with Animals Quests! CrazyCraft Revived CrazyCraft Revived Exodus (Space Mission) | Stellaris & SPACE QUESTS! Exodus (Space Mission) | Stellaris & SPACE QUESTS! Mekanism: Automation Mekanism: Automation Moe's Spooky Jump-scare Simulator Moe's Spooky Jump-scare Simulator Uncharted Expeditions Uncharted Expeditions Create - Above the Horizon Create - Above the Horizon Ender's Journey - Beyond The End Ender's Journey - Beyond The End Magitech Fantasia Magitech Fantasia Danknum Opus Danknum Opus Total Valkyrien Total Valkyrien Terrafirma Engineering Terrafirma Engineering Journey to Dawn [RU] Journey to Dawn [RU] Survival Unchained Survival Unchained WT Endless Sky Adventures - Skyblock Edition WT Endless Sky Adventures - Skyblock Edition The Last War - Guns And Adventure The Last War - Guns And Adventure The Adventure of Valkyriens The Adventure of Valkyriens Vampires, Werewolves and Magic Vampires, Werewolves and Magic Magic Valley Magic Valley Crazier Crazy Craft Crazier Crazy Craft Create Live 7 Create Live 7 Ragnamod VII In The Sky Ragnamod VII In The Sky Progress: Create Progress: Create Sky of Grind Sky of Grind Cave horror optimized (cave horror project 1) Cave horror optimized (cave horror project 1) Explorico Classic 1.16.5 Explorico Classic 1.16.5 Jaffa Factory 2 (Replica) Jaffa Factory 2 (Replica) Exosphere 2 + Create (Aeronautics) Exosphere 2 + Create (Aeronautics) Lees Fantasy - Chronicles of the Mimic Lees Fantasy - Chronicles of the Mimic Sky Frogs Sky Frogs Dark Fantasy [FORGE] Dark Fantasy [FORGE] Isle of Berk Expanded Isle of Berk Expanded Multiblock Madness 2 Multiblock Madness 2 BM: Exosphere Community Edition BM: Exosphere Community Edition Project Isothermal Expert Project Isothermal Expert Shadow Awakening Shadow Awakening Reach For The Skies - A Create Experience! Reach For The Skies - A Create Experience! Create - Plane and Simple Create - Plane and Simple Cosmic Frontiers Cosmic Frontiers Brassworks SMP modpack Brassworks SMP modpack Shiner's Black Clover Shiner's Black Clover World of Fear World of Fear Create Combined Create Combined Gamma Files: The Lost Update Gamma Files: The Lost Update The Suspect's Journey The Suspect's Journey Forget Me Not Forget Me Not BM - Exosphere 2 Lite BM - Exosphere 2 Lite White Shrimp's Great Adventure White Shrimp's Great Adventure Horror OneBlock Horror OneBlock World of Minecraft Normal World of Minecraft Normal Mechanical Mastery Plus Mechanical Mastery Plus NeepMeat - Trifecta NeepMeat - Trifecta BM: Exosphere Lite BM: Exosphere Lite Towns & Kingdoms 2 | A New World Towns & Kingdoms 2 | A New World Fallen Realms Fallen Realms Haven: Caveblock - Reborn Haven: Caveblock - Reborn sky1234 sky1234 Mystic's Monstrosity - Greedy Edition Mystic's Monstrosity - Greedy Edition Path of the Ascended Path of the Ascended Tom's Cobblemon Tom's Cobblemon EMC: Space Age EMC: Space Age Echoes of Nostalgia - Expert Echoes of Nostalgia - Expert Create: Steam 'n' Rails Server Create: Steam 'n' Rails Server Lunaria Expert Lunaria Expert Tensura All The Slime 1 Tensura All The Slime 1 My Hero Academia New Heros My Hero Academia New Heros A-Pokémon-Pack: Obsidian Edition A-Pokémon-Pack: Obsidian Edition Farming Crossing 2 Farming Crossing 2 Solo Leveling - OVERLOAD Solo Leveling - OVERLOAD New Age Science and Technology New Age Science and Technology Otherworld [DnD] RusTranslation Otherworld [DnD] RusTranslation Ars Eclectica: an Ars Nouveau Experience Ars Eclectica: an Ars Nouveau Experience Portal SkyCraft Portal SkyCraft Manhunt [Like Dream] (NOW ON 1.19.2) Manhunt [Like Dream] (NOW ON 1.19.2) Level Border Level Border FreshCraft SteamPunk Industry DLC FreshCraft SteamPunk Industry DLC Xomaps Potato Master Xomaps Potato Master Minecraft Superhero Server (Thematic) Minecraft Superhero Server (Thematic) Ninety Nine (99) Mods on the Wall - featuring Create Ninety Nine (99) Mods on the Wall - featuring Create crazy craft even more updated crazy craft even more updated Integrated Boogaloo Integrated Boogaloo Mustard Mode: ENGAGED! Mustard Mode: ENGAGED! Avaritia Project Avaritia Project World of Minecraft - Meidde World of Minecraft - Meidde Cook in Skyland Cook in Skyland Create AeronauticalSMP Create AeronauticalSMP Medival, Magic & Tech NeoForge Medival, Magic & Tech NeoForge Matrix of Materia Matrix of Materia Minecraft: Story Mode Minecraft: Story Mode Ascension of Ages Ascension of Ages Poetica Poetica Arcane Isles Arcane Isles Monumental Experience - Creatures Across the World Monumental Experience - Creatures Across the World Gregicality Skyblock Edition Gregicality Skyblock Edition Create Tycoon Create Tycoon

External Resources