KubeJSJavaScript scripting layer — modify recipes, events, items at runtime
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
- View pack-defined
kubejsitems such as Magical Soil, ATM Star Fragment, Silent Allthemodium Plate, Silent Vibranium Plate, and Silent Unobtainium Plate. - Use scripted recipe changes across Crafting Table, Furnace, Blast Furnace, Smithing Table, Stonecutter, and modded machines.
- Follow custom progression recipes that combine items from Allthemodium, Mekanism, Applied Energistics 2, Powah, and other tech/magic mods.
- Use scripted utility items where present, such as Fire Eye, Ice Eye, and Lightning Eye for Ice and Fire dragon roost locating.
- See custom tooltips, hidden/added JEI or EMI entries, and altered item tags created by the pack scripts.
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
- Just Enough Items — displays KubeJS-added and KubeJS-modified recipes.
- EMI — recipe viewer entries can be added, hidden, grouped, or annotated by KubeJS.
- FTB Quests — pack scripts can connect recipe progression, quest logic, and custom rewards.
- Create — KubeJS can define or alter Create processing recipes such as crushing, pressing, and sequenced assembly.
- Mekanism — KubeJS scripts can alter machine recipes such as crushing, enriching, smelting, and infusing.
- Applied Energistics 2 — Applied KubeJS supports AE2-specific recipe and integration helpers.
Tutorials & resources
- CurseForge — KubeJS
- YouTube — search "KubeJS minecraft tutorial"
- Official KubeJS wiki/docs: https://kubejs.com/wiki
- KubeJS tutorials index: https://kubejs.com/wiki/tutorials
- Liopyu's video tutorials, linked from the official wiki: https://kubejs.com/wiki/tutorials/videos
- Source and issue tracker: https://github.com/KubeJS-Mods/KubeJS