Applied KubeJS
If you have ever tried to bend Applied Energistics 2 to the will of a modpack, you know the pain. AE2 is brilliant, but its systems are locked behind Java code, and writing a custom addon just to tweak a recipe or fire an event is a lot of work for a small idea. Applied KubeJS changes that equation entirely. It is a bridge mod that connects AE2 and KubeJS, giving pack developers scriptable access to recipes, networks, storage, crafting jobs and player progression without touching a single line of Java.
What Applied KubeJS Actually Does
At its core, this mod exposes AE2 internals to the KubeJS scripting layer. That means you can create and manage AE2 recipe JSON from scripts, react to ME network activity in real time, and inspect devices and grids for diagnostics or quest logic. Instead of building a dedicated Java addon for every pack idea, you write server scripts and let the bridge handle the heavy lifting.
Recipe Scripting Helpers
Recipe overhauls are where most packs start, and the bridge delivers. You get helpers for common AE2 recipe types, including:
- Charger recipes
- Inscriber recipes, including press-style setups
- Transform recipes
- Entropy recipes with heat and cool behavior
- Matter Cannon ammo entries
There are also utilities for building recipe JSON safely, validating and stringifying it, and removing recipes by output, type or JSON match patterns. For large packs that need to strip and rebuild entire progression trees, that removal toolkit alone is worth the install.
Network Monitoring and Events
Applied KubeJS exposes grid summaries and network state so your scripts can track online status, power storage and usage, controller and channel state, node counts, CPU counts, request counts and storage totals. On top of that, KubeJS events fire for network lifecycle changes, power state shifts, storage deltas, threshold crossings, crafting job lifecycle stages, stuck crafting detection, terminal opens and player milestones. Want to warn players when the ME system loses power? Fire a quest when Certus Quartz stock drops below a threshold? Unlock a guide chapter the first time someone opens a terminal? All of that becomes a few lines of script.
Crafting Requests and Device Inspection
Advanced packs can plan and optionally submit AE2 crafting jobs through scripts, inspecting required bytes, missing items and job details before committing. This API is disabled by default in the server config for safety, so enable it deliberately. Device inspection helpers round things out, letting scripts read block entity state, storage summaries and attached grid info at any position, which is ideal for debug commands and admin tools.
How to Install and Version Compatibility
Before you download Applied KubeJS, check your pack's stack. The current build targets Minecraft 1.20.1 on the Forge loader, and it requires both Applied Energistics 2 and KubeJS as dependencies. Always confirm matching dependency versions on the Files tab and changelog before dropping it into a pack. The install process itself is standard: place the jar in your mods folder alongside AE2 and KubeJS, launch the game, and start writing server scripts. If you want a smoother path, the foxygame.net launcher offers one-click installation of Applied KubeJS with automatic dependency checks, so your AE2 and KubeJS versions stay aligned without manual hunting. For pack authors who prefer a curated workflow, the launcher's add-on catalog also keeps Applied KubeJS updated automatically across test instances.
Configuration and Best Practices
The bridge is built to be tuned. Server-side options cover toggles and limits for network events, storage events, crafting events, terminal events, progression hooks, debug commands and the crafting request API, plus scan intervals, event throttling, logging verbosity and dimension filters. The recommended approach is to start with defaults and enable advanced features only when your scripts need them. Script authors should register reusable helpers in startup scripts, keep AE2 event and automation logic in server scripts, and reserve client scripts for builds that explicitly support client-facing integration.
Why It Belongs in Your Pack
Applied KubeJS for Minecraft fills a gap that has frustrated pack devs for years: deep AE2 integration without custom Java work. Quest gating, automation safety alerts, resource management triggers, recipe rebalancing and scripted crafting automation all become practical projects rather than month-long commitments. If your pack leans on KubeJS and AE2, this bridge is the missing link between them.
===ARTICLE===