HariMultiThread | 异步实体处理
大规模并行实体刻与生成
什么是 HariMultiThread
HariMultiThread 是一个多线程实体处理引擎(基于 Async),可将实体刻在所有可用的 CPU 核心上并行化。
更多实体。相同的 TPS。
通过将实体更新分配到线程池,HariMultiThread 可以减少实体密集型服务器主线程的负载。
技术架构
专为安全、可扩展的并行实体处理而设计。
- 并行实体刻:实体被分批并在所有 CPU 核心上并发处理
- 异步生物生成:自然生物生成的计算与主刻并行运行
- 线程安全同步:对线程敏感的实体(包括投射物)保留在主线程;可配置同步实体列表。
- 爆炸处理:用于爆炸计算的专用线程池,独立于实体刻
- 动态线程池:自动扩展以使用所有可用的处理器
配置
位于 config/harimt.toml。
- 线程数量:最大并行线程数(默认:所有可用处理器)
- 异步生成:切换异步实体生成
- 同步实体:配置哪些实体必须在主线程进行刻
- 游戏内命令:
/async config 和 /async stats 用于运行时管理
安全性与兼容性
并非所有实体都可以安全地进行并行化处理。
- 始终同步:投射物、矿车、船、玩家、下落方块和潜影贝
- 可配置:TNT、物品、经验球、苦力怕、凋灵等可以切换
- 模组兼容性:针对 Harium、HariPlayer 和 HariChunk 集成提供特殊处理
分支信息
HariMultiThread 是 Async 的一个分支。
实验性:并行实体处理可能会与某些模组产生问题。请充分测试。
致谢与支持
原始 Async 由社区创建并维护。
HariMultiThread 保持了前沿的并行处理改进。
加入社区
在我们的 Discord 获取帮助和更新。
加入 DISCORD
HariMultiThread - 由 Hari 维护 - 高性能 Minecraft
AI 协助用于适配此社区移植版本并准备其发布材料。
HariMultiThread | Async Entity Processing
Massively Parallel Entity Ticking & Spawning
What Is HariMultiThread
HariMultiThread is a multi-threaded entity processing engine (based on Async) that parallelizes entity ticking across all available CPU cores.
More Entities. Same TPS.
By distributing entity updates across a thread pool, HariMultiThread can reduce main-thread load on entity-heavy servers.
Technical Architecture
Designed for safe, scalable parallel entity processing.
- Parallel Entity Ticking: Entities are batched and processed concurrently across all CPU cores
- Async Mob Spawning: Natural mob spawning calculations run in parallel with the main tick
- Thread-Safe Synchronization: Thread-sensitive entities, including projectiles, remain on the main thread; the synchronized entity list is configurable.
- Explosion Processing: Dedicated thread pool for explosion calculations independent of entity ticking
- Dynamic Thread Pool: Automatically scales to use all available processors
Configuration
Located in config/harimt.toml.
- Thread Count: Maximum parallel threads (default: all available processors)
- Async Spawn: Toggle asynchronous entity spawning
- Synchronized Entities: Configure which entities must tick on the main thread
- In-game Commands:
/async config and /async stats for runtime management
Safety & Compatibility
Not all entities can be safely parallelized.
- Always Synchronized: Projectiles, minecarts, boats, players, falling blocks, and shulkers
- Configurable: TNT, items, experience orbs, creepers, withers, and more can be toggled
- Mod Compatibility: Special handling for Harium, HariPlayer, and HariChunk integration
Fork Information
HariMultiThread is a fork of Async.
Experimental: Parallel entity processing may cause issues with some mods. Test thoroughly.
Credits & Support
Original Async created and maintained by the community.
HariMultiThread maintains the cutting-edge parallel processing improvements.
Join the Community
Get help and updates on our Discord.
JOIN DISCORD
HariMultiThread - Maintained by Hari - High Performance Minecraft
AI assistance was used in adapting this community port and preparing its release materials.
评论 0
登录后参与评分
还没有评论,来抢沙发吧