What Is HariMultiThread?
HariMultiThread (HMT) is a powerful multi-threaded entity processing engine designed for Minecraft servers that push entity counts to the limit. Built on the foundations of the original Async mod, this update 2.0 fork takes parallel entity ticking to a whole new level. The core idea is simple: instead of letting the main server thread choke on hundreds of mobs, villagers, or items, HariMultiThread distributes entity updates across all available CPU cores. More entities, same TPS — that is the promise.
Servers running massive farms, complex mob arenas, or sprawling modded worlds often hit a wall where the main thread simply cannot keep up. HMT solves this by batching entities and processing them concurrently. Natural mob spawning, explosion calculations, and general entity AI all get their own slice of processor time, dramatically reducing tick lag without sacrificing stability.
How Parallel Entity Ticking Transforms Your Server
The single biggest bottleneck on entity-heavy servers has always been the main thread. When every creeper, zombie, and item frame needs to update 20 times per second, the game loop can quickly become saturated. HariMultiThread introduces a dynamic thread pool that automatically scales to use all available processors. This means your server can handle far more entities before TPS starts to drop.
One of the standout features is async mob spawning. Normally, the server must pause everything to calculate where and when mobs should appear. HMT offloads those calculations to a separate thread, so the main tick continues uninterrupted. Explosion processing also gets its own dedicated thread pool, ensuring that even large TNT chains or wither fights don’t grind the server to a halt. If you’re running a modded setup, you’ll appreciate that HMT integrates smoothly with Harium, HariPlayer, and HariChunk, providing a cohesive performance suite. For those looking to get started quickly, this mod can be easily installed via the foxygame.net launcher — a convenient, flexible, and modern Minecraft launcher where you can download mods right from the menu, making server optimization accessible to everyone.
Technical Architecture: Under the Hood
HariMultiThread is designed with safety and scalability at its core. The engine does not blindly parallelize every entity. Instead, it uses a carefully managed system:
- Parallel Entity Ticking: Entities are grouped into batches and processed concurrently across all CPU cores. This includes living entities, tile entities, and custom modded creatures.
- Async Mob Spawning: Natural spawning calculations run in parallel with the main tick, so mob generation never blocks other tasks.
- Thread-Safe Synchronization: Critical entities like TNT, items, and projectiles are always processed on the main thread to prevent race conditions and duplication bugs.
- Explosion Processing: A dedicated thread pool handles explosion calculations independently, keeping the main tick smooth even during massive detonations.
- Dynamic Thread Pool: The mod automatically detects the number of available processors and scales the thread count accordingly. You can override this in the config if needed.
Configuration and Commands
All settings live in config/async.toml. The file is well-commented and lets you fine-tune how aggressive the parallelism should be. Key options include:
- Thread Count: Maximum parallel threads. Defaults to all available processors, but you can cap it lower if you want to reserve cores for other tasks.
- Async Spawn: Toggle asynchronous entity spawning on or off. Disable this if you encounter issues with certain mods.
- Synchronized Entities: A list of entity types that must always tick on the main thread. By default, this includes projectiles, minecarts, boats, players, falling blocks, and shulkers. You can add or remove entries to match your modpack’s needs.
In-game management is just as straightforward. Use /async config to view current settings and /async stats to monitor thread utilization and entity counts. This real-time feedback helps you spot bottlenecks and adjust parameters on the fly without restarting the server.
Safety and Compatibility
Not every entity can be safely parallelized, and HMT is transparent about this. Certain types are always synchronized because their behavior depends on strict tick order or complex interactions. The default synchronized list covers the most common culprits: projectiles, minecarts, boats, players, falling blocks, and shulkers. You can also configure TNT, items, experience orbs, creepers, withers, and more to be either parallelized or kept on the main thread. This flexibility is crucial for modded environments where custom entities might not play nicely with multithreading.
The mod includes special compatibility handling for Harium, HariPlayer, and HariChunk, ensuring that these popular performance mods work together seamlessly. If you’re using other mods, the recommendation is to test thoroughly — parallel entity processing is experimental by nature and may expose hidden race conditions in less-optimized code.
A Fork of Async: What Changed
HariMultiThread is a fork of the well-known Async mod, maintained by Hari with a focus on cutting-edge parallel processing improvements. The original Async laid the groundwork, but HMT pushes the envelope with a redesigned thread pool, better explosion handling, and deeper integration with the Hari ecosystem. The community behind the original Async continues to maintain its own version, so you can choose the flavor that best fits your server’s needs.
Being experimental, the mod carries a clear disclaimer: some mods may behave unexpectedly under heavy parallelism. Always run a test server before deploying to a live world. The Discord community (JOIN DISCORD) is active and helpful, offering support and updates as the project evolves.
Conclusion
HariMultiThread 2.0 is a game-changer for any Minecraft server struggling with entity-induced lag. By safely distributing the load across multiple CPU cores, it allows you to scale up mob farms, redstone contraptions, and modded content without sacrificing tick rate. The configuration is straightforward, the safety measures are robust, and the integration with the Hari suite makes it a natural choice for performance-minded server owners. If you’ve ever watched your TPS plummet while hundreds of entities clog the main thread, HMT offers a practical, high-performance solution that respects the complexity of Minecraft’s game loop. Give it a try, fine-tune the settings to your world, and experience a smoother, more responsive server.