promotional bannermobile promotional banner

AE2UEL Optimizer

Performance and bug fixes for AE2 Unofficial Extended Life

Performance and bug fixes for AE2 Unofficial Extended Life (1.12.2). AE2UEL の軽量化と不具合修正を行う mod です。(日本語の説明は下にあります)

image

GitHub | Issues | Changelog


Results

Optimizes and fixes bugs across AE2 and its add-ons as a whole.

Late-game Nomi-CEu world, heavy autocrafting, same world with and without this mod (measured with spark):

With Optimizer Without
TPS 20.0 10.7
Real time per tick 29.3 ms 92.4 ms
AE2 total 5.1 ms/tick 63.5 ms/tick
Crafting CPUs 1.9 ms/tick 50.3 ms/tick
FE P2P + energy input 0.8 ms/tick 14.4 ms/tick

During normal autocrafting, AE2's time drops to about 1/4–1/5 (e.g. 17.8 → 4.4 ms/tick). Crafting itself takes the same time as before.

Features

Every feature is on by default and can be turned off one by one in config/ae2uel_optimizer.cfg. Debug tools are off by default.

Energy grid (quartz fibers / subnets)

  • Reuses the list of networks linked through quartz fibers and skips a useless scan on every power inject/extract. Networks with many subnets no longer get heavy.

Crafting CPUs

  • Shares the per-network time budget evenly, so one CPU no longer always ends up last and slow.
  • Remembers busy interfaces and Packagers for the rest of the tick, and skips the ingredient check when every target is busy.
  • Updates the CPU status screen less often, only while the server is under heavy load.

FE P2P tunnels

  • Caches output targets, skips full outputs, and reuses the output list within a tick.
  • Injects power into ME Controllers / Energy Acceptors once per tick.
  • Collects the tunnel tax once per tick. The default tax is the same as AE2; a multiplier and a per-tick cap can be set in the config.
  • Moves FE as long, so more than ~2.1 billion FE can pass at once. Draconic Evolution, PackagedDraconic and Flux Networks receive it as long directly.

Bug fixes

  • Ghost nodes: tiles from chunks/dimensions unloaded before AE2 finished setting them up stayed on the network forever. This could connect a subnet to the main network and leak items into a subnet's storage bus.
  • FE P2P: loop-back connections breaking the distribution, and getEnergyStored overflowing to a negative number.
  • Betterer P2P: new links taking over an unrelated P2P with the same frequency, crashes with unknown P2P types, and network rebuilds on every relink.

Commands (OP only, read-only)

  • /ae2opti ghostcheck — lists ghost nodes on all networks.
  • /ae2opti energylinks — shows networks linked through quartz fibers and timing.
  • /ae2opti fibercheck — checks for subnets merged into another network (with debug.fiberCrosstalk).

Requirements & compatibility

  • Required: AE2 Unofficial Extended Life (tested with v0.56.6 / v0.56.7), MixinBooter
  • Install on both client and server.
  • Works with AE2UEL add-ons in general. Uses @Inject / @WrapOperation only (no @Redirect / @Overwrite).
  • Every mixin can be disabled in the mixins section of the config (restart required), in case one conflicts with another mod.
Mod Status
Betterer P2P Fixes applied when installed
Draconic Evolution, PackagedDraconic, Flux Networks long FE transfer supported
AE2Enhanced Works. crafting.skipCraftCheckWhenAllBusy turns itself off
CrazyAE CPU-related errors may occur

Recommended: AE2-VM:Legacy, which optimizes crafting calculations.

If you find a problem, please open an issue with your log.

Credits

  • AE2 Crafting Optimizer (ACO) by syarukasu — the design of this mod owes a lot to ACO.
  • The AE2 Unofficial Extended Life team and the authors of the add-ons this mod works with.
  • This mod was developed with a lot of help from Anthropic's AI assistant Claude.
  • Project icon: based on the Applied Energistics 2 logo by AlgorithmX2 et al, licensed under CC BY-NC-SA 3.0.

License: LGPL-3.0

English is not my first language, so I wrote the English text with help from AI.


日本語

効果

AE2やアドオン周辺の全体の軽量化、不具合修正を行います。

Nomi-CEu 最終盤のワールドで、大量クラフト中に AE2UEL Optimizer の有無だけを変えて spark で計測しました。

あり なし
TPS 20.0 10.7
1tick の実処理時間 29.3 ms 92.4 ms
AE2 全体 5.1 ms/tick 63.5 ms/tick
クラフト CPU 1.9 ms/tick 50.3 ms/tick
FE P2P・電力の受け入れ 0.8 ms/tick 14.4 ms/tick

通常のクラフト中も、AE2 の処理時間は 1/4〜1/5 になります(例:17.8 → 4.4 ms/tick)。クラフトにかかる時間は変わりません。

機能

機能はすべてデフォルトでオンです。config/ae2uel_optimizer.cfg から1つずつオフにできます。デバッグ用の機能はデフォルトでオフです。

電力まわり(石英ファイバー・サブネット)

  • 石英ファイバーでつながった網の一覧を使い回し、電力の出し入れのたびに走っていた無駄な走査を省きます。サブネットが大量にあっても重くなりません。

クラフト CPU

  • 網ごとの時間の予算を均等に分け、特定の CPU だけずっと後回しになる不具合を直します。
  • 埋まっているインターフェースや Packager を tick の間覚えておき、送り先が全部埋まっているときは材料チェックを省きます。
  • CPU の状況画面は、サーバーが重いときだけ更新の間隔をあけます。

FE P2P

  • 出口の先のブロックを覚える、満タンの出口を飛ばす、出口の一覧を tick の間使い回します。
  • コントローラーと Energy Acceptor への電力は、tick に1回まとめて入れます。
  • トンネル税を tick ごとにまとめて取ります。税の量はデフォルトでは元の AE2 と同じで、設定で倍率と1tickあたりの上限を変えられます。
  • P2P の中を long で扱い、1回で約21億 FE を超えて運べます。Draconic Evolution・PackagedDraconic・Flux Networks には long のまま渡します。

不具合修正

  • 幽霊ノード:AE2 が準備を終える前にアンロードされたチャンクやディメンションのタイルが、網に残り続けていました。サブネットがメインネットとつながり、ストレージバスにアイテムが混ざる原因になっていたと考えられます。
  • FE P2P:ループ配線で配分が壊れる、getEnergyStored があふれてマイナスになる。
  • Betterer P2P:同じ周波数の無関係な P2P を乗っ取る、知らない種類の P2P で落ちる、つなぎ直すたびに網が作り直される。

コマンド(OP 権限、読むだけ)

  • /ae2opti ghostcheck — 全部の網から幽霊ノードを探して一覧にします。
  • /ae2opti energylinks — 石英ファイバーでつながった網と、処理時間を表示します。
  • /ae2opti fibercheck — サブネットが別の網と混ざっていないか調べます(debug.fiberCrosstalk と一緒に使います)。

必要なもの・互換性

  • 必須:AE2 Unofficial Extended Life(v0.56.6 / v0.56.7 で確認)、MixinBooter
  • クライアントとサーバーの両方に入れてください。
  • AE2UEL のアドオンとは基本的に一緒に使えます。@Inject と @WrapOperation だけを使い、@Redirect と @Overwrite は使っていません。
  • 他の mod とぶつかったときのために、設定の mixins カテゴリで mixin ごとに無効化できます(再起動が必要)。
Mod 状態
Betterer P2P 導入時は修正を適用
Draconic Evolution・PackagedDraconic・Flux Networks long での受け渡しに対応
AE2Enhanced 併用可。crafting.skipCraftCheckWhenAllBusy は自動でオフ
CrazyAE CPU 絡みのエラーが出る場合あり

推奨:クラフトの計算を最適化する AE2-VM:Legacy との併用をおすすめします。

不具合を見つけたら、ログを付けて Issue で教えてください。

謝辞

  • AE2 Crafting Optimizer(ACO)(syarukasu 氏作)— この mod の設計は ACO を大いに参考にしています。
  • AE2 Unofficial Extended Life の開発チームと、この mod と一緒に動くアドオンの作者のみなさん。
  • この mod の開発には、Anthropic の AI アシスタント Claude の力を大きく借りました。
  • プロジェクトアイコン:Applied Energistics 2 のロゴ(AlgorithmX2 et al 作)をもとにしています。ライセンスは CC BY-NC-SA 3.0 です。

ライセンス:LGPL-3.0

AE2UEL Optimizer Team

profile avatar
  • 1
    Followers
  • 4
    Projects
  • 1.5K
    Downloads

I make the stuff I want, with a lot of help from AI.

More from koito1111

  • AppliedManaita project image

    AppliedManaita

    An addon that connects Manaita mods with AE2. (まな板modとAE2を連動させるアドオンです。)

    • 105
    • November 7, 2026
  • AE2UEL Things project image

    AE2UEL Things

    DISK Cells for AE2UEL — an independent reimplementation of the AE2Things / AE2MEGAThings concept (type-unlimited storage cells) for Applied Energistics 2 Unofficial Extended Life.

    • 1.3K
    • September 28, 2026
  • EverythingWrenche project image

    EverythingWrenche

    Every item is a wrench.

    • 29
    • September 20, 2026
  • AppliedManaita project image

    AppliedManaita

    An addon that connects Manaita mods with AE2. (まな板modとAE2を連動させるアドオンです。)

    • 105
    • November 7, 2026
  • AE2UEL Things project image

    AE2UEL Things

    DISK Cells for AE2UEL — an independent reimplementation of the AE2Things / AE2MEGAThings concept (type-unlimited storage cells) for Applied Energistics 2 Unofficial Extended Life.

    • 1.3K
    • September 28, 2026
  • EverythingWrenche project image

    EverythingWrenche

    Every item is a wrench.

    • 29
    • September 20, 2026