AE2: EMI Quick Fill
Next to an AE2 terminal, Shift+clicking a recipe in EMI does nothing — you have to open the recipe and press the plus button first. This mod removes that step.
Why it does not work out of the box
EMI sends the context type CRAFTABLE for Shift+click transfers, but AE2's terminals only run their own transfer logic for the plus button's FILL_BUTTON. CRAFTABLE falls back to the default logic, which wants every ingredient in your inventory — so a recipe whose materials sit in the ME network comes back as uncraftable.
What it does
Shift+click an EMI recipe in any AE2-family terminal:
- Materials in the ME network — filled into the crafting grid, or encoded into the pattern
- Missing materials — the same missing-ingredient feedback as the plus button; hold Ctrl to auto-submit what is missing
No config, no GUI. Client-side only, the server does not need it.
How it works
One Mixin: inside canCraft, CRAFTABLE is passed off as FILL_BUTTON. craft() does not look at the type, so what runs afterwards is AE2's own fill logic — no transfer code is rewritten.
Works in
- AE2 Crafting Terminal
- AE2 Wireless Crafting Terminal
- AE2 Pattern Encoding Terminal
- Any third-party terminal extending AE2's AbstractRecipeHandler
- WCWT (ME Comprehensive Work Terminal) — no patch needed, it handles Shift+click on its own side
Versions
- Minecraft 1.21.1 — NeoForge 21.1.x, AE2 19.2.x, EMI 1.1.18+
- Minecraft 1.20.1 — Forge 47.x, AE2 15.4.10+, EMI 1.1.18+
Source: https://github.com/zaixiayesheng/Ae2EmiQuickFill
License: MIT
AE2: EMI Quick Fill(中文)
在 AE2 终端旁边用 EMI 时,Shift+点击配方是没反应的 —— 得先点开配方详情、再点加号。这个模组把那一步去掉。
为什么本来不行
EMI 的 Shift+点击传的是 CRAFTABLE,而 AE2 的终端只对加号按钮的 FILL_BUTTON 跑自己的传输逻辑。CRAFTABLE 会退回到默认逻辑,要求材料全在背包里 —— 材料放在 ME 网络里就直接判定合不了。
装了就有的效果
在任意 AE2 系终端里 Shift+点击 EMI 配方:
- 材料在 ME 网络里 —— 填进合成格,或编码成样板
- 材料不全 —— 和点加号一样提示缺什么,按住 Ctrl 可以自动提交缺的材料
没有配置,也没有界面。纯客户端,服务端不用装。
原理
一个 Mixin:在 canCraft 里把 CRAFTABLE 当成 FILL_BUTTON。craft() 本身不看类型,所以后面跑的就是 AE2 原本那套填充逻辑,没有重写任何传输代码。
能用的终端
- AE2 合成终端
- AE2 无线合成终端
- AE2 样板编码终端
- 其他继承 AE2 AbstractRecipeHandler 的第三方终端
- WCWT(ME 综合工作终端)—— 不需要补丁,它自己那侧已经处理了 Shift+点击
版本
- Minecraft 1.21.1 —— NeoForge 21.1.x、AE2 19.2.x、EMI 1.1.18+
- Minecraft 1.20.1 —— Forge 47.x、AE2 15.4.10+、EMI 1.1.18+

