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
Super III Super III Tetra+ Tetra+ Crazy Cozy Adventure+ Crazy Cozy Adventure+ R.M. Apocalyptic Zombies R.M. Apocalyptic Zombies Crafting Craft 2 Crafting Craft 2 Atomized Atomized Null Sector Null Sector All the Simple All the Simple Flourish & Flutter: A Nature’s Journey Flourish & Flutter: A Nature’s Journey Dying of the Light Dying of the Light Zurvive - The Last Apocalypse Zurvive - The Last Apocalypse Seven Deadly Sins Chronicles Seven Deadly Sins Chronicles Palladium superheroes Palladium superheroes FNAF Fazbear Factory FNAF Fazbear Factory InfinityCraft Ultra InfinityCraft Ultra Fertility Fertility MI:Lost Favor MI:Lost Favor NeoForge Lite NeoForge Lite You Like Food? 2! You Like Food? 2! Valse's Chunk By Chunk Valse's Chunk By Chunk Create: Snow & Steel Create: Snow & Steel StrikeCraft StrikeCraft Xomembers Xomembers Create & Ars Nouveau Create & Ars Nouveau Schedule 2 Schedule 2 Nostalgic Craft 2 Nostalgic Craft 2 FleshPunk - A Biopunk Modpack FleshPunk - A Biopunk Modpack Canvas | Modpack Base Template Canvas | Modpack Base Template WUC Palladium WUC Palladium The Last Horror Experience [REHORRIFIED] The Last Horror Experience [REHORRIFIED] Solo Leveling Reborn pengin's edition Solo Leveling Reborn pengin's edition Createrington Rails 'n Sails Createrington Rails 'n Sails Shipping Lanes Survival Pack Shipping Lanes Survival Pack CookieCrafter CookieCrafter Backtanked Backtanked SHARKSQUAD - CURSED BOYS SHARKSQUAD - CURSED BOYS KOTD KOTD Create Blueprint Create Blueprint Splendid Ranching Splendid Ranching Ages Reimagined Ages Reimagined QuestCraft BR QuestCraft BR Benk's Medieval Minecraft Reloaded Benk's Medieval Minecraft Reloaded WARSMP - Tanks and All (Official) WARSMP - Tanks and All (Official) The Fog Is Coming: Creatures From The Mist The Fog Is Coming: Creatures From The Mist Modern Revolutions Skies Modern Revolutions Skies BERK DRAGONS BERK DRAGONS Arrzee's Enhanced Arrzee's Enhanced Omnitrix Unleashed Omnitrix Unleashed NeoLand NeoLand Infinity Pack 1 Infinity Pack 1 NoodlesSMP NoodlesSMP Clayblock Clayblock WHAT WE LOST - Zombie Apocalypse Modpack WHAT WE LOST - Zombie Apocalypse Modpack Jaffa Factory 2 (Glorp) Jaffa Factory 2 (Glorp) Alien Evo: Quest for the Infinity Stones ben 10 Alien Evo: Quest for the Infinity Stones ben 10 Epic spellbound  ; Medieval Became a real mage, warrior or explorer iron spell and spellbook and epic fight Epic spellbound ; Medieval Became a real mage, warrior or explorer iron spell and spellbook and epic fight All Roads Lead to The Void All Roads Lead to The Void Super II Super II Torment - Psychological Horror Torment - Psychological Horror Cilgin Ayicik Ben 10 Cilgin Ayicik Ben 10 RoundAbout JoJo RoundAbout JoJo Pixelmon E2craft Pixelmon E2craft Magician Path Magician Path Pugmeowla's Infinity Stone + Pugmeowla's Infinity Stone + Beyond the Omnitrix Beyond the Omnitrix CrazyCraft Recreation CrazyCraft Recreation Flat Factory [F2] Flat Factory [F2] [TACZ] FOAT [TACZ] FOAT Secure Contain Profit Secure Contain Profit Puppy Girl Empire BCG/Cobblemon Puppy Girl Empire BCG/Cobblemon Solo Leveling: Extended Solo Leveling: Extended Compact Sky Compact Sky  VeritySurvival VeritySurvival LitW II - Life in the Wilds 2 LitW II - Life in the Wilds 2 Prey - LITE Prey - LITE The Herobrine ; The Original Herobrine The Herobrine ; The Original Herobrine Dawn Piece Dawn Piece Create ADDONS Create ADDONS Rizmotopia Rizmotopia Minecolonies - The Dark Ages Minecolonies - The Dark Ages Crazy Craft Reforged Crazy Craft Reforged MineColonies: Kingdoms Beyond MineColonies: Kingdoms Beyond Factor-e Void Edition Factor-e Void Edition UnBound World UnBound World Tensura Nightmare Reincarnated Tensura Nightmare Reincarnated Weapons And Some Other Things (WASOT) Weapons And Some Other Things (WASOT) Magic OneBlock Project Magic OneBlock Project HardRock Apocalypse - Plagueborn (HRAP) HardRock Apocalypse - Plagueborn (HRAP) Tensura Chronicles of Tempest Tensura Chronicles of Tempest Crafttomuck Crafttomuck PhoenixTech: Reloaded PhoenixTech: Reloaded Harder Than Copper Age Harder Than Copper Age Finally a Good Tensura Server Finally a Good Tensura Server Nostalgia core (the broken script) Nostalgia core (the broken script) ReCreated - Create Aeronautics Update ReCreated - Create Aeronautics Update Kinetia Kinetia Create: New Age Create: New Age Project LaughTale Project LaughTale Fox Adventures: Origins Fox Adventures: Origins Zoompack 4 Zoompack 4

External Resources