EMILink

EMI ↔ AE2 / BeyondDimensions integration enhancement mod, adding convenient AE2 and BD related operations to the EMI recipe interface.

74

EMILink

EmiLink

*NeoForge 1.21.1 · v1.1.2*

EMI ↔ AE2 / BeyondDimensions integration enhancement mod, adding convenient AE2 and BD related operations to the EMI recipe interface.

Feature Overview

| Feature | Description | Requirement | |---------|-------------|-------------| | BD Shift+Click Withdraw | Press the `F` key in the AE2/BD terminal interface to fill the search box with the name of the hovered item; `Alt+F` fills in `@modid` format | Client-only | | BD Shift+Click Withdraw | Display the EMI item list on the AE2 crafting plan screen, supporting direct search and drag-and-drop | Client-only | | BD Shift+Click Withdraw | Force-enable AE2's `exposeNetworkInventoryToEmi` config option | Client-only | | BD Shift+Click Withdraw | Show total quantity and craftable status in the AE network when hovering over items in the EMI sidebar | Client + Server | | BD Shift+Click Withdraw | Use EMI one-shot craft hotkey in the AE2 crafting terminal; outputs go directly to inventory without passing through the mouse cursor | Client + Server | | BD Shift+Click Withdraw | Space+Click to withdraw a specified quantity from the BD network, or deposit inventory items into the network | Client + Server | | BD Shift+Click Withdraw | Space+Click the BD recipe result slot to auto-repeat crafting (max 512 times) | Client + Server | | BD Shift+Click Withdraw | Shift+Click BD network storage slots to withdraw only one stack, overriding BD's default full-bag fill behavior | Client + Server |

> If the server does not have this mod installed, one-shot crafting falls back to vanilla AE2 CRAFT_SHIFT behavior; BD operations use reflective fallback via BatchTransferPacket.

EAEP Integration Features

Requires both client and server to install both client and server.

| Feature | Description | |---------|-------------| | Auto Fill Recipe Type on Template Upload | Middle-click items in EMI to automatically open the AE2 crafting quantity interface | | Auto Fill Recipe Type on Template Upload | Retrieve items from AE network to inventory; auto-open crafting UI when stock is insufficient | | Auto Fill Recipe Type on Template Upload | Automatically select the corresponding recipe type tab after encoding and uploading templates via EMI |

AE Network Tooltip Details

When hovering over items in the EMI sidebar, the mod queries the server for the item's total stock and craftable status in the AE network, then displays tooltip info:

- `AE: <Amount>` — Total stock in the current AE network (gray text) - `Craftable` — The item can be automatically crafted via the network (green text)

Queries are only triggered when the player opens an ME Terminal or Wireless Terminal interface. When closed, cached data remains displayed.

Caching Mechanism:

- Query request triggered after 250ms hover delay, with deduplication and rate limiting - Query results cached for 5s; empty results cached for 10s to reduce network traffic - Per-server isolated cache: Historical cache preserved separately for each server; entries auto-expire after TTL - Command `/emilink clearcache` to manually clear current server cache

Dependencies

- Optional: NeoForge ≥21.1.220, Minecraft 1.21.1, Java 21, Optional ≥1.1.22 - Optional: %%MD1%% ≥19.2.17 (AE2 terminal quick craft, F search, crafting plan UI, network status query) - Optional: %%MD2%% ≥0.7.14 (BD network deposit/withdraw / batch crafting) - Optional: %%MD3%% ≥1.5.4 (Middle-click & Shift+Left-click integration) - Optional: Curios (Wireless Terminal detection in Curios slots)

Build

```bash ./gradlew build # Full build (Java 21 toolchain required) ./gradlew runClient # Launch Minecraft client ```

Hotkey Reference

Fully compatible with InventoryEssentials

| Hotkey | Function | Supported Terminal | |--------|----------|--------------------| | Alt + F | Withdraw from network / Deposit items into network | AE2 / BD | | Alt + F | Batch crafting (max 512 iterations) | BD | | Alt + F | Withdraw one stack only (override BD default fill behavior) | BD | | Alt + F | Fill search box with hovered item name | AE2 / BD | | Alt + F | Fill search box with `@modid` format | AE2 / BD |

License

GNU AGPL 3.0

ADS