AE2 VM: Legacy is an unofficial fork of Tao's AE2-VM for modern Minecraft (NeoForge 1.21.1), ported to Minecraft 1.12.2 with Cleanroom or Forge + MixinBooter, running on AE2 Unofficial Extended Life. All credit for the original architecture goes to Tao; see Credits below.
AE2 VM replaces Applied Energistics 2's recursive crafting-tree traversal with a pre-compiled pattern bytecode + stack-based virtual machine + JIT bundle cache. Crafting requests that stall the vanilla planner for minutes — deeply nested, exponentially recursive patterns — are planned in milliseconds (upstream benchmark: ~90 s → ~38 ms, ~2,400×). Stack overflows are impossible by construction: there is no recursion anywhere in the pipeline.
All 39 reference-suite scenarios × 3 stock modes are SUPPORTED with zero flakiness, plus 37/37 boundary checks; the deep-chain micro-benchmark plans a Fibonacci-32 chain at 10^9 scale in ~0.6 ms (hot median). Fresh benchmarks are published to the wiki automatically on every release.
The VM takes over crafting calculations automatically; no setup, no config needed. Encode AE2 patterns as usual, request a craft from the terminal, and the VM accelerates the calculation transparently. To return to vanilla planning, set proxyEnabled=false in config/ae2_vm_112-common.toml.
Supported recipes: crafting patterns (molecular assemblers) and processing patterns of any depth, including the mega-recipes common in AE2 addon packs. Calculation runs on a background thread — no server main-thread lag.
On the Forge route: the mod uses no Cleanroom-specific APIs and ships Java 8 bytecode, so it is expected to work out of the box. This route is not covered by our automated tests — feedback is welcome.
| Requirement | Version |
|---|---|
| Minecraft | 1.12.2 |
| Loader | Cleanroom (recommended) or Forge + MixinBooter |
| Applied Energistics 2 | AE2 Unofficial Extended Life (any 1.12.2 build) |
This is a fork of AE2-VM by Tao — the crafting-VM architecture, instruction semantics and test baselines all originate there (LGPL-3.0). Thanks also to NNYYOONNIIOO & contributors (AE2-Quick-Calculation, integration shell reference), Circulate233 (RandomComplement, build system reference), moakiee (TB-ThirdParty, test-only reference planner), AlgorithmX2 et al. for Applied Energistics 2, and the AE2UEL team for the 1.12 platform.
This port is released under LGPL-3.0, same as upstream.