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
Prison Escape - Beginnings (reborn) Prison Escape - Beginnings (reborn) Creatopia Unbound Creatopia Unbound Industrial Machines Industrial Machines Testing DMZ Legacy Testing DMZ Legacy Creative Industrialization: Festering Industry Creative Industrialization: Festering Industry Architecture & Automatum Architecture & Automatum Strange Aeons: Sword and Sorcery Strange Aeons: Sword and Sorcery Myriad Dimensional Forge [SenDims BanForges] Myriad Dimensional Forge [SenDims BanForges] Moni&ProjectE Moni&ProjectE Create: Magic Adventures Create: Magic Adventures Perdido em Marte Perdido em Marte The Rebirth of Nevermine The Rebirth of Nevermine MageTech [FORGE] MageTech [FORGE] Transportcraft Next Generation Transportcraft Next Generation Hommage Hommage Immersive Wither Storm Immersive Wither Storm nuclear radiation 2 nuclear radiation 2 Farmy Skyblock Farmy Skyblock WT Endless Sky Adventures - SkyGrid Edition WT Endless Sky Adventures - SkyGrid Edition Cobblemon Enhanced (Pokemon) Cobblemon Enhanced (Pokemon) Project X (Palladium) Project X (Palladium) TACZcraft TACZcraft AtariKafa ZindanCraft S3 AtariKafa ZindanCraft S3 Jujutsu Aurolith Jujutsu Aurolith dronko's dragon survival dronko's dragon survival narutoto Ultimate narutoto Ultimate Monumental Experience VI - Rise of the Dinosaurs Monumental Experience VI - Rise of the Dinosaurs solo leveling reawakening evolved Anime solo leveling reawakening evolved Anime Create Flight Create Flight Randoms Packs Randoms Packs Terra Immundus - Sculk Horde Terra Immundus - Sculk Horde Termincraft Termincraft Singularity Create Singularity Create FPScraft X FPScraft X Congregation - expert Gregtech pack Congregation - expert Gregtech pack Simplicity SMP Simplicity SMP Aeronautics - Across the Horizon Aeronautics - Across the Horizon Community in the Skies Community in the Skies Create Lost and Renaissance Create Lost and Renaissance Hikari Haven Cobblemon Hikari Haven Cobblemon Greg-E Greg-E TechCraftBrasil - Servidor Brasileiro - ONLINE TechCraftBrasil - Servidor Brasileiro - ONLINE Xomaps Pocket Xomaps Pocket FreakCraft - CrazyCraft Inspired FreakCraft - CrazyCraft Inspired OceanBlock - Skyblock Reinvented OceanBlock - Skyblock Reinvented #1 Cursed Fate - Jujutsu Kaisen Reforged #1 Cursed Fate - Jujutsu Kaisen Reforged C&K's Organized Crime C&K's Organized Crime ReNightmares Official Server Pack ReNightmares Official Server Pack Liminal Industries - Oil Expansion Liminal Industries - Oil Expansion Age of Fate: The Frozen Hope Age of Fate: The Frozen Hope TerraFirmaCraft:Leap The Top TerraFirmaCraft:Leap The Top Infinite Horizons 2 - Superflat Survival Infinite Horizons 2 - Superflat Survival Outbreak Outbreak GregTech: Flatter Than Ever (GT:FTE) GregTech: Flatter Than Ever (GT:FTE) Arkanis Terceira Temporada - FANMADE Arkanis Terceira Temporada - FANMADE PokeSMP PokeSMP Forever Stranded Skies Forever Stranded Skies Gregified: Sky Edition Gregified: Sky Edition All Ultimate Selection All Ultimate Selection BeetleKnight's Beyond BeetleKnight's Beyond Sulidae TFC Sulidae TFC Refined Pack 2 Refined Pack 2 Create Clockwork Lite Create Clockwork Lite Cobblemon + Create - Pokemon meets Industrial Revolution! Cobblemon + Create - Pokemon meets Industrial Revolution! Travelers Reborn Travelers Reborn Colony:Exodus to the stars Colony:Exodus to the stars Heroes United Heroes United Apocalipse Warden Apocalipse Warden Winter's Fury: A Post-Apocalyptic Adventure Winter's Fury: A Post-Apocalyptic Adventure Captive 2 Captive 2 Xomaps Potato Sky Xomaps Potato Sky Adventure of Tech V Adventure of Tech V Venom Craft Venom Craft RockTown Tech World Sky Block RockTown Tech World Sky Block All Quiet on the Sink - AQS All Quiet on the Sink - AQS A Journey's End - RPG A Journey's End - RPG Society: Mystical Ocean Society: Mystical Ocean Create Evo Era Create Evo Era NinjaCraft - Official Server NinjaCraft - Official Server EnchantVenture EnchantVenture Frigid - Winter Apocalypse Frigid - Winter Apocalypse CordCraft Season 5 CordCraft Season 5 Project Arc Light - The Hanging Pavilion Project Arc Light - The Hanging Pavilion Who Am I - Not Me Who Am I - Not Me TTIGRN : Hardcore Heroes TTIGRN : Hardcore Heroes PixelGO - Isekai (Pixelmon) PixelGO - Isekai (Pixelmon) Create: Warzone Create: Warzone Create Outbound Create Outbound Last DayZ of Craft Last DayZ of Craft Create Aeronautics Planes Trains and Automobiles Create Aeronautics Planes Trains and Automobiles InfinityCraft: Hero-verse InfinityCraft: Hero-verse FrierenWorld FrierenWorld pvz the moon incident pvz the moon incident Harvista Harvista SwordCraft Origins SwordCraft Origins Better Than Ocelots [A Modern Better Than Wolves Port!] Better Than Ocelots [A Modern Better Than Wolves Port!] Create It Up - A Create Experience Create It Up - A Create Experience Xomaps 2 Xomaps 2 Medieval Dark Fantasy Craft [Rpg] Medieval Dark Fantasy Craft [Rpg] Ancient Cobblemon - Mega Evolutions - Breeding - Quests - Spawn Legendary - MMO RPG - All Pokemons (Cobblemon v1.8) Ancient Cobblemon - Mega Evolutions - Breeding - Quests - Spawn Legendary - MMO RPG - All Pokemons (Cobblemon v1.8)

External Resources