What are you searching for?

KubeJS

KubeJS

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

download 11.9M Downloads · favorite 321 Followers · Updated 2 months ago
Fabric Forge Library Neoforge Quilt Utility 1.18.2 1.19 1.19.2 1.20.1 1.20.4 +2 more

Versions

inventory_2
KubeJS NeoForge 2101.7.2-build.348

2101.7.2-build.348 · 2 months ago · 2.14 MB

Neoforge 1.21 1.21.1
inventory_2
KubeJS NeoForge 2101.7.2-build.344

2101.7.2-build.344 · 2 months ago · 2.14 MB

Neoforge 1.21 1.21.1
inventory_2
KubeJS NeoForge 2101.7.2-build.336

2101.7.2-build.336 · 2 months ago · 2.14 MB

Neoforge 1.21 1.21.1
inventory_2
KubeJS NeoForge 2101.7.2-build.333

2101.7.2-build.333 · 2 months ago · 2.14 MB

Neoforge 1.21 1.21.1
inventory_2
KubeJS NeoForge 2101.7.2-build.321

2101.7.2-build.321+KubeJS-1.21.1 · 2 months ago · 2.12 MB

Neoforge 1.21 1.21.1

About

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

person
Lat
Mod Author
open_in_new View on Modrinth
Compatibility
Client: Optional Server: Optional
gavel LGPL-3.0-only

Conversation

What are your thoughts?

Related projects

Library
Fabric API
Fabric API

by modmuss50

Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.

download 127.9M
favorite 27,365
Library
Cloth Config API
Cloth Config API

by shedaniel

Configuration Library for Minecraft Mods

download 94.0M
favorite 13,653
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.0M
favorite 12,704
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.4M
favorite 22,097
lock Cookie consent

SkinMC uses cookies to provide functionality and features.