What are you searching for?

Async

Async

Async is a Fabric mod designed to improve the performance of entities by processing them in parallel threads.

download 293.6K Downloads · favorite 435 Followers · Updated 3 months ago
Fabric Mobs Neoforge Optimization Quilt 1.21 1.21.1 1.21.2 1.21.3 1.21.4 +7 more

Versions

inventory_2
0.1.8+alpha.1-1.21.10

0.1.8+alpha.1-1.21.10 · 3 months ago · 674.13 KB

Fabric Quilt 1.21.9 1.21.10
inventory_2
0.1.8+alpha.1-1.21.10

0.1.8+alpha.1-1.21.10 · 3 months ago · 302.08 KB

Neoforge 1.21.9 1.21.10
inventory_2
0.1.8+alpha.1-1.21.8

0.1.8+alpha.1-1.21.8 · 3 months ago · 669.51 KB

Fabric Quilt 1.21.6 1.21.7 1.21.8
inventory_2
0.1.8+alpha.1-1.21.8

0.1.8+alpha.1-1.21.8 · 3 months ago · 297.54 KB

Neoforge 1.21.6 1.21.7 1.21.8
inventory_2
0.1.8+alpha.1-1.21.4

0.1.8+alpha.1-1.21.4 · 3 months ago · 668.32 KB

Fabric Quilt 1.21.4

About

Async - Minecraft Entity Multi-Threading Mod ⚙️

Async is a Fabric mod designed to improve entity performance by processing them in parallel using multiple CPU cores and threads.

Important❗

Async is currently in alpha testing and is experimental. Its use may lead to incorrect entity behavior and crashes.

What is Async? 🤔

Async is a Fabric mod that enhances the performance of entity processing. The mod leverages multithreading, which allows multiple CPU cores to improve performance when handling a large number of entities.

💡 Key Benefits:

  • Improved TPS: Maintains stable tick times even with a large number of entities.
  • 🚀 Multithreading: Utilizes multiple CPU cores for parallel entity processing.
  • 🎲 Async Random Ticks (Experimental): Processes random ticks asynchronously for better performance.

📊 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 the server)
  • Minecraft Version: 1.21.4
  • Number of Entities: 9000
  • Entity Type: Villagers
Mod List Concurrent Chunk Management Engine, Fabric API, FerriteCore, Lithium, ScalableLux, ServerCore, StackDeobfuscator, TT20 (TPS Fixer), Tectonic, Very Many Players, Fabric Carpet.

⚠️ Incompatible Mods

  • ❌ Moonrise - Known incompatibility
  • ⚠️ ...and there may be conflicts with other mods.

If you encounter issues with other mods, please report them on our GitHub or Discord.

🔧 Commands

  • /async config toggle — Enables or disables the mod in-game (no server restart required). Use this command to instantly see how Async improves your server.
  • /async config setAsyncEntitySpawn — Enables or disables parallel mob spawn processing (disabled by default). Warning: Not compatible with Carpet mod lagFreeSpawning rule.
  • /async config setAsyncRandomTicks — Enables or disables async random ticks processing (experimental feature).
  • /async config synchronizedEntities add — Adds selected entity to synchronized processing.
  • /async config synchronizedEntities remove — Removes selected entity from synchronized processing.
  • /async stats — Displays the number of threads in use.
  • /async stats entity — Shows the number of entities processed by Async in various worlds.
  • /async stats entity [number] — Shows the top [number] entity types by count in descending order. For example, /async stats entity 10 displays the top 10 most numerous entity types.

📥 Download

The mod is available on Modrinth

🔄 Minecraft Version Support

Full support is provided only for the latest version of Minecraft. Older versions receive critical fixes only. Support for older Minecraft snapshots is not planned.

📭 Feedback

Our tracker for feedback and bug reports is available on GitHub: Report issues on GitHub

You can also chat with us on Discord: Chat with us on Discord

🙌 Acknowledgements

This mod is based on code from MCMTFabric, which in turn was based on JMT-MCMT. Huge thanks to Grider and jediminer543 for their invaluable contributions!

open_in_new View on Modrinth
Compatibility
Client: Unsupported Server: Required
gavel GPL-3.0-or-later

Conversation

What are your thoughts?

Related projects

Optimization
Sodium
Sodium

by jellysquid3

The fastest and most compatible rendering optimization mod for Minecraft. Now available for both NeoForge and Fabric!

download 118.2M
favorite 32,788
Decoration Optimization
Iris Shaders
Iris Shaders

by coderbot

A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs

download 90.5M
favorite 23,773
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Optimization
Entity Culling
Entity Culling

by tr7zw

Using async path-tracing to hide Block-/Entities that are not visible

download 84.0M
favorite 13,759
lock Cookie consent

SkinMC uses cookies to provide functionality and features.