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
Mystical Block Mystical Block Monifactory Monifactory Jurassic World Reborn II Jurassic World Reborn II JJKL Jujutsu Kaisen Craft JJKL Jujutsu Kaisen Craft MARSHY'S SECRETS OF THE OMNITRIX - PALLADIUM BETA MARSHY'S SECRETS OF THE OMNITRIX - PALLADIUM BETA FTB Evolution FTB Evolution Dimensional Ascension Dimensional Ascension Tensura Neo Otherworld Tensura Neo Otherworld Sky Bees Sky Bees Over Stars Over Stars CABIN: Create Above & Beyond In Newer CABIN: Create Above & Beyond In Newer TerraFirmaCraft Reloaded TerraFirmaCraft Reloaded MineField Mods MineField Mods Create Chronicles: Bosses and Beyond Create Chronicles: Bosses and Beyond Cozy Create - Create Focused Adventure Cozy Create - Create Focused Adventure HazardousDaniel's Unlimited HazardousDaniel's Unlimited Ultimate Origins Modpack Ultimate Origins Modpack TNP Limitless 8 - LL8 TNP Limitless 8 - LL8 Official Tensura: Reincarnated Survival Server Official Tensura: Reincarnated Survival Server waccyy's Fantasia waccyy's Fantasia Techopolis 2 Techopolis 2 Desolate Planet - A Crash Landing Remake Desolate Planet - A Crash Landing Remake Arcadia [RPG] Arcadia [RPG] Cuboid Outpost Cuboid Outpost Crafting Dead Modpack Crafting Dead Modpack Desertopolis Desertopolis Mechanical Mastery Mechanical Mastery Create: Stranded at Sea Create: Stranded at Sea BigChadGuys Plus (Non Cobblemon!) BigChadGuys Plus (Non Cobblemon!) Solo Leveling: Reincarnation Awakening Solo Leveling: Reincarnation Awakening Enigmatica 6: Expert - E6E Enigmatica 6: Expert - E6E Farmopolis Farmopolis Tensura Journey of Reincarnation Tensura Journey of Reincarnation Cozy Zen Cozy Zen [MODIFIED] Cobblemon: PLUS [MODIFIED] Cobblemon: PLUS The Last War - Guns And Adventure (Survivor's World with Guns) | QUESTS UPDATE! The Last War - Guns And Adventure (Survivor's World with Guns) | QUESTS UPDATE! Crazy Craft Updated Lite Crazy Craft Updated Lite BM: Revelations II BM: Revelations II Ozone Skyblock Reborn Ozone Skyblock Reborn Alaskan Wilderness Reimagined - ForgeLabs Recreation [AWR] Alaskan Wilderness Reimagined - ForgeLabs Recreation [AWR] FTB Skies 2 Aero FTB Skies 2 Aero Ancient Kingdoms 3 Ancient Kingdoms 3 Stacia Expert Stacia Expert TNP Limitless 6 - LL6 TNP Limitless 6 - LL6 Jetpack Cat - Epic Monsters, Guns and Combat Jetpack Cat - Epic Monsters, Guns and Combat Create 2 Mekanism: Sky Edition 2 Create 2 Mekanism: Sky Edition 2 Sky Bees 2 Sky Bees 2 Life in the village 4 Life in the village 4 TNP Limitless 5 - LL5 TNP Limitless 5 - LL5 TNP Limitless 7 - LL7 TNP Limitless 7 - LL7 All the Mods: Volcano Block ATMVB All the Mods: Volcano Block ATMVB ZS Pack (Tensura) ZS Pack (Tensura) Create on a Potato PC: Ultimate Create on a Potato PC: Ultimate All the Mods 10 Aeronautics All the Mods 10 Aeronautics Rusty Sink 2 Rusty Sink 2 Enigmatica 9: Expert - E9E Enigmatica 9: Expert - E9E Create Aeronautics - Skybound | Create Aeronautics & Create Addons with Quests Create Aeronautics - Skybound | Create Aeronautics & Create Addons with Quests ChaosZProject - A Modern Zombie Apocalypse [VR for WIP v.3.0.0] ChaosZProject - A Modern Zombie Apocalypse [VR for WIP v.3.0.0] The Pioneers The Pioneers BTH - Beyond The Horizon BTH - Beyond The Horizon TNP Limitless 3 - LL3 TNP Limitless 3 - LL3 Society: Sunlit Cobblemon Society: Sunlit Cobblemon All The Mods - Gravitas² All The Mods - Gravitas² Strictly Medieval 3 [FORGE] Strictly Medieval 3 [FORGE] BETTER FANTASY - Overture BETTER FANTASY - Overture Akashic Records of Tensura Akashic Records of Tensura Horrorland 2 - Psychological and Classic Horror Modpack (with Horror Quests) Horrorland 2 - Psychological and Classic Horror Modpack (with Horror Quests) EMC: To The Sky EMC: To The Sky All the Magic - Arcana All the Magic - Arcana Confluence: Journey's Start (Terraria ModPack) Confluence: Journey's Start (Terraria ModPack) Enigmatica 8 - E8 - 1.18 Enigmatica 8 - E8 - 1.18 Create: Mekanized Create: Mekanized Project Architect Project Architect Contained Opolis (A Space Adventure) Contained Opolis (A Space Adventure) FTB Presents: Direwolf20 - Season 14 FTB Presents: Direwolf20 - Season 14 Encrypted_ Encrypted_ Cobblemon Eternal: The Minecraft Pokémon Experience Cobblemon Eternal: The Minecraft Pokémon Experience Cuboid Outpost (Luxury Edition) Cuboid Outpost (Luxury Edition) The Winter Frontier The Winter Frontier Seaopolis Submerged 2 Seaopolis Submerged 2 Mayview (with Cobblemon!) Mayview (with Cobblemon!) Astropolis Astropolis Reminiscence Reminiscence Restless Horizons Restless Horizons Not Too Complicated 2 Not Too Complicated 2 Project Sacrifice Project Sacrifice Avalon Forge Avalon Forge Farming Crossing 4 Farming Crossing 4 Auto-TerraFirmaCraft (TFC + Create) Auto-TerraFirmaCraft (TFC + Create) Farming Crossing 5: Made to Order! Farming Crossing 5: Made to Order! Enigmatica 9 - E9 - 1.19.2 Enigmatica 9 - E9 - 1.19.2 Ragnamod VII Ragnamod VII Enigmatica 10 - E10 Enigmatica 10 - E10 Island Adventure - Complete Overhaul | Now with Quests! Island Adventure - Complete Overhaul | Now with Quests! Advent of Ascension Plus Advent of Ascension Plus Christmas Holidays - Ideal For Festivities | Christmas Quests Update! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! FTB Presents Architect's Exodus FTB Presents Architect's Exodus Just Not Enough Mods 2 (JNEM2) Just Not Enough Mods 2 (JNEM2) Cobblemon Realms Cobblemon Realms Verdant Idea Verdant Idea

External Resources