KubeJS

Edit recipes, add new custom items, script world events, all in JavaScript!

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

The KubeJS Team

profile avatar
  • 190
    Followers
  • 38
    Projects
  • 673.0M
    Downloads

More from LatvianModderView all

  • FTB Chunks (NeoForge) project image

    FTB Chunks (NeoForge)

    • 117.9M
    • Mods

    A mod that allows you to claim chunks to protect your blocks and view minimap / large map

    • 117.9M
    • May 29, 2026
    • Mods
    • +1
  • FTB Chunks (Fabric) project image

    FTB Chunks (Fabric)

    • 11.7M
    • Mods

    A mod that allows you to claim chunks to protect your blocks. It also has a minimap and large map!

    • 11.7M
    • May 29, 2026
    • Mods
    • +1
  • FTB Library (NeoForge) project image

    FTB Library (NeoForge)

    • 217.9M
    • Mods

    Common code for all GUI stuff in FTB Mods

    • 217.9M
    • May 28, 2026
    • Mods
  • FTB Library (Fabric) project image

    FTB Library (Fabric)

    • 33.0M
    • Mods

    Common code for all GUI stuff in FTB Mods. Component/layer based GUI creation. Used by mods such as FTB Chunks, FTB Quests, etc. (Fabric version)

    • 33.0M
    • May 28, 2026
    • Mods
  • FTB Chunks (NeoForge) project image

    FTB Chunks (NeoForge)

    • 117.9M
    • Mods

    A mod that allows you to claim chunks to protect your blocks and view minimap / large map

    • 117.9M
    • May 29, 2026
    • Mods
    • +1
  • FTB Chunks (Fabric) project image

    FTB Chunks (Fabric)

    • 11.7M
    • Mods

    A mod that allows you to claim chunks to protect your blocks. It also has a minimap and large map!

    • 11.7M
    • May 29, 2026
    • Mods
    • +1
  • FTB Library (NeoForge) project image

    FTB Library (NeoForge)

    • 217.9M
    • Mods

    Common code for all GUI stuff in FTB Mods

    • 217.9M
    • May 28, 2026
    • Mods
  • FTB Library (Fabric) project image

    FTB Library (Fabric)

    • 33.0M
    • Mods

    Common code for all GUI stuff in FTB Mods. Component/layer based GUI creation. Used by mods such as FTB Chunks, FTB Quests, etc. (Fabric version)

    • 33.0M
    • May 28, 2026
    • Mods