EmiAccelerator

EmiAccelerator

Caches the EMI item stack list to disk and defers search index building to a background thread, drastically reducing EMI reload time.

by
16.5K Downloads
forgeneoforgeoptimizationutility
Configure a Compatible Minecraft Server

About this Mod

EMI Accelerator

Caches the EMI item stack list to disk and defers search index building to a background thread, drastically reducing EMI reload time.

Overview

Every time you join a world or reload resources, EMI rebuilds the entire item stack list and search index. For modpacks with a large number of mods, this process can take tens of seconds, and the game UI freezes completely while the search index is being built.

EMI Accelerator solves this problem with the following optimizations:

  • Stack Caching: Serializes EmiStackList.stacks to JSON and caches it to disk on the first load. Subsequent game launches skip the full reload (around 130ms compared to ~40 seconds).
  • Deferred Search: Defers EmiSearch.bake() to a background thread, eliminating roughly 10 seconds of UI blocking.
  • Auto Refresh: Automatically updates EMI search results once background indexing finishes, with no manual re-input required.

Usage

Command Description
/emiacc status View cache status, file size, and hit count
/emiacc clear Delete the cache (rebuilds on next launch)
/emiacc reload Trigger an EMI reload manually
/emiacc reload --force Clear cache and force a full EMI reload

Configuration

Config file path: config/emi-accelerator/emi-accelerator.properties

Option Type Default Description
cacheEnabled boolean true Enable item stack caching
autoClearOnModChange boolean true Automatically clear cache when mod list changes
maxFileSizeMb int 100 Maximum cache file size (MB)
diagnosticsEnabled boolean false Write stage timings to reload-timings.json
deferredSearchEnabled boolean true Enable background deferred search indexing

How It Works

  1. EMI tag sync triggers β†’ EmiReloadManager.reload() β†’ ReloadWorker.run() starts
  2. Check if the cache exists and is valid (SHA-256 mod list hash verification)
  3. Cache hit: Deserialize stack list directly β†’ skip full reload β†’ build search index in background β†’ complete
  4. Cache miss: Proceed with normal EMI reload β†’ asynchronously write cache after completion
  5. Automatically refresh the EMI UI after search build finishes, showing [EMI Accelerator] Search Ready

Dependencies

Mod Version Required
EMI 1.1.22+ Yes
  • Loader: NeoForge 21.1.228+
  • Side: Client-only
  • Environment: Minecraft 1.21.1

Build

./gradlew build

License

GNU AGPL 3.0

Available Versions

EmiAccelerator 1.1.4release
MC 1.21.1neoforge
July 16, 2026
EmiAccelerator 1.1.3release
MC 1.21.1neoforge
June 6, 2026
EmiAccelerator 1.1.1release
MC 1.21.1neoforge
May 17, 2026

How to Install EmiAccelerator on Your Client

1

Install the Mod Loader Locally

Install forge for your local Minecraft version.

2

Download the Matching File

Choose the EmiAccelerator file for forge and Minecraft 1.21.1.

3

Install Mod

Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.

Compatibility

Mod Loaders

forgeneoforge

Minecraft Versions

1.21.1, 1.20.1

Server-side

βœ— Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Does EmiAccelerator need to be installed on the Minecraft server?

No. Modrinth marks EmiAccelerator as unsupported on the server side. Install it only in your local Minecraft mods folder. Your server can remain unchanged unless the mod page lists an additional dependency.

Which version and loader does EmiAccelerator require?

Use a file for forge, neoforge and your exact Minecraft version. Supported versions include 1.21.1, 1.20.1. Files for different loaders are not interchangeable.

EmiAccelerator is not working – what should I check?

First check the Minecraft version, loader version and required dependencies. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.

Minecraft Server for Your Group

EmiAccelerator stays on your client. Host a compatible world for your group.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
Client Compatibility Guide
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Affero General Public License v3.0 only
Server-side
Unsupported

Supported Versions

1.21.11.20.1