Wiki 9Minecraft KubeJS Library Wiki
KubeJS Library Wiki

KubeJS Library Wiki & Guide

wiki.9minecraft.net/kubejs-library/

KubeJS is a comprehensive scripting library that allows modpack creators and server administrators to customize Minecraft using the JavaScript language, enabling the creation of custom items, blocks, recipes, and complex event-driven logic.

Overview

KubeJS is a powerful utility mod designed for Minecraft, and beyond. It utilizes a fork of the Rhino JavaScript engine by Mozilla to convert JS code into Java classes at runtime. This allows for deep integration with Minecraft's internal systems without the need for complex Java development environments.

By wrapping Minecraft classes and utilizing the Architectury framework, KubeJS provides a unified API for both Forge and Fabric/Quilt loaders. It is primarily used to: * Create entirely new items and blocks with custom properties. * Modify or remove recipes from any mod. * Change block and item tags. * Handle complex server-side events like player interactions and entity deaths. * Customize the user interface and tooltips on the client side.

In this wiki

GuideReferenceConfiguration