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
NwtCraft NwtCraft DB3K DB3K Gold Edition Gold Edition horror the last world in ruins horror the last world in ruins MTW Skyblock Reborn MTW Skyblock Reborn Liminal Industries Acension Liminal Industries Acension Creative Skyblock Creative Skyblock SkyWorkshop SkyWorkshop Mythic: Novus - The Complete Magic Modpack - 1.12.2 Mythic: Novus - The Complete Magic Modpack - 1.12.2 Heroes Kingdom Heroes Kingdom Solo Leveling Reawakening Server Solo Leveling Reawakening Server Haven: Veni de Nova Haven: Veni de Nova Schleimy's Stranger Things Schleimy's Stranger Things Farming Crossing 6 Dinner Party Farming Crossing 6 Dinner Party Mechanomania Mechanomania EMC & FE ++ EMC & FE ++ Steam 'n' Rails Server Modpack Steam 'n' Rails Server Modpack Create: Cobblemon [Cardboard Edition] Create: Cobblemon [Cardboard Edition] Infinity Legacy Infinity Legacy Create: Gears of History Create: Gears of History Mysticlouds - Cuteness and Chaos Mysticlouds - Cuteness and Chaos High-Altitude Alchemy High-Altitude Alchemy Madpack 5 Madpack 5 Skyblock Automation Skyblock Automation Cobblemon: Beyond the Pixelverse Cobblemon: Beyond the Pixelverse Liminal Industries - Rescripted Liminal Industries - Rescripted Clockwork Clockwork SKYMON - Cobblemon SKYMON - Cobblemon Yes Nicer MC [Forge] YNM Yes Nicer MC [Forge] YNM Sky Alchemist Sky Alchemist Farming Overloaded Farming Overloaded Fantastic Frontier Fantastic Frontier Popularmmos Challenge Games Pack Popularmmos Challenge Games Pack The SuperHero Journey The SuperHero Journey Enchanted Genesis Enchanted Genesis CRIF 2 - Create an empire of Rats to fight "Ice&Fire" CRIF 2 - Create an empire of Rats to fight "Ice&Fire" Techno Magic - Trustworthy Techno Magic - Trustworthy NeoForge Foundry: StoneFactory Edition NeoForge Foundry: StoneFactory Edition Astral Engineering Astral Engineering Mystical Block Reloaded Mystical Block Reloaded Technological Ascent Technological Ascent Black Hole Black Hole Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) New Age Science and Technology  Easy New Age Science and Technology Easy FWF LuckyBlocks FWF LuckyBlocks Impostor Syndrome Impostor Syndrome Volcanic Sandbox | VS Volcanic Sandbox | VS Ben  10 MINEDITION Ben 10 MINEDITION Chunklock Create Chunklock Create Sky Bees Reborn Sky Bees Reborn Pokemon JG058 Pokemon JG058 Kawaii Craftia Kawaii Craftia                                                                                                AMP - Mechanisms, Magic & Masonry AMP - Mechanisms, Magic & Masonry FTB Builders Paradise 2 FTB Builders Paradise 2 VampireReborn VampireReborn Evolution of the Ages 2 Evolution of the Ages 2 TNP Limitless Lite - LL Lite TNP Limitless Lite - LL Lite [CTC]Create: the Creation [CTC]Create: the Creation Takeover: Modern Warfare Modpack Takeover: Modern Warfare Modpack Create Overlord Aeronautics Update Create Overlord Aeronautics Update Odyssey 3 Odyssey 3 The Last One The Last One Ashes To Ashes Ashes To Ashes MC UFC: Monstros MC UFC: Monstros NANGMAN DESERT NANGMAN DESERT Melatonin Melatonin SMP | Somake Server SMP | Somake Server Grand Architecture Journey Grand Architecture Journey Essential TerraFirmaCraft (TFC) Essential TerraFirmaCraft (TFC) Sky Creations One Sky Creations One The Corrupted Aftermath The Corrupted Aftermath Adventures in Time - Dalek Wasteland Adventures in Time - Dalek Wasteland [ Alone on a Raft ] Ocean survival world with vast islands, dangerous, sea creatures, boat [ Alone on a Raft ] Ocean survival world with vast islands, dangerous, sea creatures, boat Fishing Block Fishing Block Crazy Craft 5.0 (Chaos Edition) Crazy Craft 5.0 (Chaos Edition) Industrial Upgrade Horizon Industrial Upgrade Horizon Create the Server Create the Server AtlanAbyss AtlanAbyss Elite Tensura Elite Tensura Create: Civilizations - C:C Create: Civilizations - C:C Apocalypse Begins [Zombie Apocalypse] Apocalypse Begins [Zombie Apocalypse] One Piece Grand Blue - (Mine Piece) One Piece Grand Blue - (Mine Piece) The Forest - The Ultimate Survival Horror Pack The Forest - The Ultimate Survival Horror Pack NANGMAN SEA NANGMAN SEA Factorio: Nuclear (OxMODPACK) Factorio: Nuclear (OxMODPACK) Ice And Fire-Expanded pack Ice And Fire-Expanded pack Danny's Aot with FTB quests (Fan made) Danny's Aot with FTB quests (Fan made) GD: Hexing Tales GD: Hexing Tales Stacia Stacia Improved Oritech | Oritech, Technology & Quests (Oritech 1.21.1) Improved Oritech | Oritech, Technology & Quests (Oritech 1.21.1) Faruk V Faruk V Farwater: Create Mysticism Farwater: Create Mysticism CRETANIA CRETANIA Create: Aeronautical Crafting Create: Aeronautical Crafting JJK Extra Cursed Fate JJK Extra Cursed Fate Create 2 Mekanism 2: Sky Edition Create 2 Mekanism 2: Sky Edition The OnePiece+ The OnePiece+ Neuroshroud: The Abandoned Neuroshroud: The Abandoned Delight: Desert Chef Delight: Desert Chef SeriousFirmaCraft (TFC + Create) SeriousFirmaCraft (TFC + Create)

External Resources