PMWeather Optimizations 1.2.1
PMWeather Optimizations 是一款仅适用于服务器的模组,旨在提升 TPS(每秒刻数)并使支持更多玩家数量的游戏更加流畅。
专为 Minecraft 1.21.1 上的 ProtoManly’s Weather 0.16.4 打造。
区块与地表处理
减少 PMWeather 昂贵的区块扫描操作,同时保留野火、灼烧、灭火、热冲击和枯木燃烧的行为。
修改后的降水预算
限制每个层级可选的 PMWeather 降水工作量,防止大型天气事件压垮服务器线程。
生物群系与区块加载保护
尽可能使用已加载的区块和生物群系数据,防止降水检查生成或同步加载缺失的区块。
降水优化
复用重复的降水计算,并跳过降水系统不需要的 atmospheric(大气)数值。
降雨查询缓存
在同一服务器刻内缓存相同的 isRainingAt 检查,减少重复的 PMWeather 降雨计算。
风力优化
减少不必要的地形碰撞射线、重复的高度图查询、超出有效范围的旋风计算以及重复的火势强度查找。
实体风力安全
实体的移动和风力效果完全在 Minecraft 服务器线程上运行。没有实体会被异步刻或修改。
湿度网络同步
仅向正在追踪受影响区块的玩家发送湿度和火焰更新。
其他优化
复用风暴标识符,并移除多个重复的对象分配和查找。
实验性热力学优化
默认禁用。
此功能纯属实验性质,在测试中显示出 TPS 下降的情况。不应默认启用,也不应将其视为推荐的性能改进措施。
该功能仅用于额外的测试和开发。
实验性多线程
默认禁用。
只有当手动启用多线程和热力学优化时,才提供实验性的大气计算工作线程。
服务器线程永远不会等待工作线程的结果,所有对实时 Minecraft 世界的访问仍保持在服务器线程上。
由于当前热力学系统显示出 TPS 下降的问题,实验性多线程也不建议用于普通服务器。
运行时控制
所有命令均需要 Minecraft 权限等级 2(即 OP 权限):
/pmw-optimizations on
/pmw-optimizations off
/pmw-optimizations status
/pmw-optimizations thermodynamic on
/pmw-optimizations thermodynamic off
/pmw-optimizations thermodynamic status
PMWeather Optimizations 1.2.1
PMWeather Optimizations is a server-only mod designed to improve TPS and make higher player counts more playable.
Built for ProtoManly’s Weather 0.16.4 on Minecraft 1.21.1.
Chunk and Surface Processing
Reduces PMWeather’s expensive chunk scanning while preserving wildfire, scorching, extinguishing, thermal shock, and dead-log behavior.
Modified Precipitation Budget
Limits optional PMWeather precipitation work per level to prevent large weather events from overwhelming the server thread.
Biome and Chunk-Loading Protection
Uses already-loaded chunk and biome data wherever possible, preventing precipitation checks from generating or synchronously loading missing chunks.
Precipitation Optimizations
Reuses repeated precipitation calculations and skips atmospheric values that are not needed by the precipitation system.
Rain Query Caching
Caches identical isRainingAt checks during the same server tick, reducing repeated PMWeather rain calculations.
Wind Optimizations
Reduces unnecessary terrain collision rays, duplicate heightmap queries, cyclone calculations outside their effective range, and repeated fire-intensity lookups.
Entity Wind Safety
Entity movement and wind effects remain entirely on the Minecraft server thread. No entities are asynchronously ticked or modified.
Moisture Networking
Sends moisture and fire updates only to players already tracking the affected chunk.
Smaller Optimizations
Reuses storm identifiers and removes several repeated object allocations and lookups.
Experimental Thermodynamic Optimization
Disabled by default.
This feature is purely experimental and has shown a regression in TPS during testing. It should not be enabled by default or treated as a recommended performance improvement.
It remains available only for additional testing and development.
Experimental Multithreading
Disabled by default.
Experimental atmospheric calculation workers are available only when both multithreading and thermodynamic optimization are manually enabled.
The server thread never waits for worker results, and all live Minecraft world access remains on the server thread.
Because the thermodynamic system currently shows a TPS regression, experimental multithreading is also not recommended for normal servers.
Runtime Controls
All commands require Minecraft permission level 2 aka OP only:
/pmw-optimizations on
/pmw-optimizations off
/pmw-optimizations status
/pmw-optimizations thermodynamic on
/pmw-optimizations thermodynamic off
/pmw-optimizations thermodynamic status
评论 0
登录后参与评分
还没有评论,来抢沙发吧