Download Async — Minecraft Mods — MetaMods

Async

Active

Downloads

27

Last update

8 months ago

Versions

1.21 — 1.21.10
Server
Fabric
Neoforge
Quilt
Mobs
Game optimization

Async - Multi-Threaded Entity Processing for Minecraft ⚙️

Async is a Fabric mod that significantly enhances the performance of entity processing by distributing computations across multiple processor cores.

Important Notice❗

Currently, Async is in alpha testing stage and considered experimental. Its use may lead to incorrect entity behavior and game crashes.

Key Advantages

  • Stable TPS: Ensures smooth server operation even with numerous active entities
  • 🚀 Multithreading: Utilizes all available processor cores for parallel processing
  • 🎲 Asynchronous Random Ticks (Experimental): Accelerates processing of random world events

Performance Comparison (9000 Villagers)

Configuration TPS MSPT
Lithium + Async 20 41.8
Lithium (without Async) 4.4 225.4
Purpur 5.72 176.18

Test Configuration

  • Processor: AMD Ryzen 9 7950X3D
  • RAM: 64 GB (16 GB allocated to server)
  • Minecraft Version: 1.21.4
  • Number of Entities: 9000
  • Entity Type: Villagers

Incompatible Mods

  • ❌ Moonrise - known incompatibility
  • ⚠️ Possible conflicts with other mods

Available Commands

  • /async config toggle — Enables or disables the mod without server restart. Allows instant evaluation of Async's effect.
  • /async config setAsyncEntitySpawn — Activates or deactivates parallel mob spawn processing (disabled by default). Warning: Incompatible with Carpet mod's lagFreeSpawning rule.
  • /async config setAsyncRandomTicks — Controls the experimental asynchronous random ticks processing function.
  • /async config synchronizedEntities add — Adds selected entity to synchronized processing.
  • /async config synchronizedEntities remove — Removes selected entity from synchronized processing.
  • /async stats — Shows the number of threads in use.
  • /async stats entity — Displays statistics for entities processed by Async in different worlds.
  • /async stats entity [number] — Shows top [number] entity types by count in descending order.

Minecraft Version Support

Full support is provided only for the latest Minecraft version. For older versions, only critical fixes are applied. Support for outdated snapshots is not planned.