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
Cobblemon Freedom Frontiers Cobblemon Freedom Frontiers Create Aeronautica Create Aeronautica Frozenopolis Frozenopolis DEADZONE - Multiplayer Zombie Apocalypse DEADZONE - Multiplayer Zombie Apocalypse CreateAndSpace CreateAndSpace Ultimate Anime Pack [Dropped] Ultimate Anime Pack [Dropped] MC UFC: Primal and Medieval MC UFC: Primal and Medieval Garden of Glass (Questbook Edition) Garden of Glass (Questbook Edition) Ultimate Progression: Sky Ultimate Progression: Sky Infinite Horizons - Modded Superflat Survival Infinite Horizons - Modded Superflat Survival Building Tales 2 Building Tales 2 Adventure Life - Legacy Adventure Life - Legacy Creepy [ Horror ] Creepy [ Horror ] Demon SlayerCraft: Rise of the Slayers Demon SlayerCraft: Rise of the Slayers Dungeons, Dragons and Space Shuttles 2 Dungeons, Dragons and Space Shuttles 2 Easycraft (Official) Easycraft (Official) Create: New Horizon Create: New Horizon Survival Tools Survival Tools Ragnamod VI In the Sky Ragnamod VI In the Sky Create Re-Flavored Create Re-Flavored Craftoria 2 - Worlds Beyond Craftoria 2 - Worlds Beyond Create The Brass Concerto 机械动力 黄铜协奏曲 Create The Brass Concerto 机械动力 黄铜协奏曲 Chosen's Modded Adventure: Chunk by Chunk Chosen's Modded Adventure: Chunk by Chunk Little Bit Large Little Bit Large Create - Forge Frontier Create - Forge Frontier Sky Capsule Project Sky Capsule Project Cottage Craft - A Cottagecore Adventure Cottage Craft - A Cottagecore Adventure CreateTogether CreateTogether Farming Crossing 3 Farming Crossing 3 Insomnia: Hardcore | Origins, Bosses, Skills Insomnia: Hardcore | Origins, Bosses, Skills Odyssey: Space - A New Beginning Odyssey: Space - A New Beginning FTB Skies FTB Skies FTB OceanBlock FTB OceanBlock Skyrealm: Descent Skyrealm: Descent StaTech Industry 2 StaTech Industry 2 Vanilla Create Exploration Vanilla Create Exploration Desecrated - Flesh and Blood Desecrated - Flesh and Blood Lees Zombie Apocalypse - Fallen Earth Lees Zombie Apocalypse - Fallen Earth Better Beta Better Beta Haven: CaveBlock Haven: CaveBlock TerraFirmaAdventure TerraFirmaAdventure ABOE 3 - A Bit of Everything 3 ABOE 3 - A Bit of Everything 3 Creative Drawers Producer Creative Drawers Producer #1 One Prime Piece #1 One Prime Piece Cryptopolis Cryptopolis Vintage Wilds Vintage Wilds Rubius cobblemon Rubius cobblemon RandBlock 2 Winterize RandBlock 2 Winterize Sky Revolutions Sky Revolutions Stone Technology Ultimate Stone Technology Ultimate Create Eternal Journey Create Eternal Journey [MODIFIED] Cobblemon: OVERCLOCKED! [MODIFIED] Cobblemon: OVERCLOCKED! Adventure of Tech VI Adventure of Tech VI Beyond Depth Insanity Beyond Depth Insanity PixelGO - To the Sky PixelGO - To the Sky Avalon Reborn Avalon Reborn Terramity Awakened Terramity Awakened Create Prepare to Dye Create Prepare to Dye Create Lets Create - Official Server Create Lets Create - Official Server ChickenBlock ChickenBlock FreshCraft Classic FreshCraft Classic CRIF - Create an empire of Rats to fight "Ice&Fire" CRIF - Create an empire of Rats to fight "Ice&Fire" Druidic Quest: Expert Druidic Quest: Expert More Farmers Delight More Farmers Delight Create: Back on Track Create: Back on Track FTB NeoTech FTB NeoTech SkyT 2 SkyT 2 Slow_Start AoA3 [NEOFORGE] Slow_Start AoA3 [NEOFORGE] Enigmatic Skies Enigmatic Skies MI:Foundation MI:Foundation CREATE and COLONY - Better features with Create and MineColonies CREATE and COLONY - Better features with Create and MineColonies Go Create Go Create Angel Tale : Shadows of Apollyon Angel Tale : Shadows of Apollyon The Cursed Redwood Forest (Horror) The Cursed Redwood Forest (Horror) TechAcademy TechAcademy Winter Regrowth Winter Regrowth City Life 2 City Life 2 WinterCraft-Eternal Winter! WinterCraft-Eternal Winter! Prison Escape - Beginnings Prison Escape - Beginnings EMC SubTerra Tech EMC SubTerra Tech HeroCraft - RPG Adventure HeroCraft - RPG Adventure Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Apocalipse Zumbi Apocalipse Zumbi OxMODPACK 8 OxMODPACK 8 Monumental Experience - In the Sky Monumental Experience - In the Sky The Fallen World - Prehistoric Corruption The Fallen World - Prehistoric Corruption Project SkyQ 2 Project SkyQ 2 ElysiumCraft Rp ElysiumCraft Rp WANKIL CRAZY : LWI WANKIL CRAZY : LWI Create Block - Everything in the sky Create Block - Everything in the sky New Game 3 - Immersive RPG Adventures & RPG Quests New Game 3 - Immersive RPG Adventures & RPG Quests Create: Factory Builder Create: Factory Builder Chroma Endless Chroma Endless Elden Block Elden Block Cottage Craft Cottage Craft Blackstone Block Blackstone Block Create 2 Mekanism Create 2 Mekanism Sky Farm Sky Farm Calamity RPG III : Wounds of the World Calamity RPG III : Wounds of the World Rising Civilizations Rising Civilizations

External Resources