KubeJSJavaScript scripting layer — modify recipes, events, items at runtime

Version: 2101.7.1 · MC 1.21.1 · NeoForge 21.1.234 · Java 21

About

JavaScript scripting framework. Pack authors and server admins write .js files in kubejs/ to add/remove/modify recipes, hook events (player login, block break), add custom items, and integrate with other mods. ATM10 uses KubeJS heavily for cross-mod balance tweaks — most of the pack's custom recipes live in kubejs/server_scripts/. KubeJS is the JavaScript scripting layer that lets the pack change recipes, tags, loot, tooltips, events, and registries without writing a full Java mod. In ATM10-style packs it is the source of pack-defined kubejs content such as Magical Soil, ATM Star Fragment, Fire Eye, Ice Eye, Lightning Eye, and Liquid Souls.

Getting started

There is no required first KubeJS craft; most of the mod works behind the scenes through pack scripts. Search @kubejs or kubejs in JEI/EMI to see pack-added items and their recipes, such as Magical Soil or ATM Star Fragment. KubeJS has no in-game guide book; use the quest book and recipe viewer for pack-specific usage.

What you can do

Endgame goals

KubeJS itself has no machine, armor set, or multiblock to max out. In ATM10-derived packs its late-game role is the scripted ATM Star chain, using ATM Star Fragments and cross-mod recipes that pull from Allthemodium, Mekanism, Applied Energistics 2, Powah, and other major progression mods.

Integrations with other AYN mods

Tutorials & resources