Better Seats 是一款适用于 Minecraft 26.3-snapshot-3 的 Fabric 性能优化模组。
在代码中,Mojang 将新的座椅实体称为 Cushion。大型建筑可能包含数千个此类实体,因此每帧渲染和同步服务器检查所带来的开销变得显著可见。
优化措施
- 通过原版
RenderType 对 Cushion 模型提交进行合并。该模组为每个实例保留原版的模型、纹理、姿态、打包光照和覆盖层,同时用一个可重用的批次对象替换每个 Cushion 的一次性短生命周期提交对象。
- 在批处理路径中,静态 Cushion 模型不会为每个实例重置其未更改的模型部件姿态。
- 服务器支持与流体检查保留了原版 101 刻的周期,但其首次检查按实体 ID 分布,以避免大量加载的 Cushion 在同一刻运行昂贵的检查。
- 针对超大型建筑,提供可选的渲染距离上限。默认禁用,因为限制渲染距离是一种可见的质量妥协。已占用、发光及自定义命名的 Cushion 始终豁免于此限制。
原版 26.3 已经按纹理对模型绘制调用进行了批处理。Better Seats 并不替换该渲染器或声称能额外节省绘制调用;它针对的是每个批次上传之前仍存在的每实体分配和模型提交工作。
配置
首次启动时,该模组会创建 config/better-seats.properties:
batch-render-submissions=true
skip-static-model-reset=true
max-render-distance=0
stagger-support-checks=true
将 max-render-distance 设置为 16 到 512 区块之间以启用视觉距离上的质量妥协,或将其保持在 0 以维持原版行为。修改文件后请重启游戏或服务器。skip-static-model-reset 仅影响批处理路径;若要在测试批次兼容性时保留原版的姿态设置,可将其设为 false。客户端批处理和服务器错峰检查可以独立禁用。
Better Seats is a Fabric performance mod for Minecraft 26.3-snapshot-3.
Mojang calls the new seat entity a Cushion in code. Large builds can contain
thousands of these entities, so their per-frame rendering and synchronized
server checks become visible costs.
Optimizations
- Cushion model submissions are coalesced by vanilla
RenderType. The mod
retains the vanilla model, texture, pose, packed light, and overlay for every
instance while replacing one short-lived submit object per cushion with a
reusable batch.
- Within the batched path, the static cushion model does not reset its
unchanged model-part pose for every instance.
- Server support and fluid checks keep vanilla's 101-tick period, but their
first check is distributed by entity ID so mass-loaded cushions do not all
run the expensive check on the same tick.
- An optional render-distance cap is available for very large builds. It is
disabled by default because a cap is a visible quality tradeoff. Occupied,
glowing, and custom-named cushions are always exempt.
Vanilla 26.3 already batches model draw calls by texture. Better Seats does not
replace that renderer or claim extra draw-call savings; it targets the
per-entity allocation and model-submit work that remains before each batch is
uploaded.
Configuration
On first launch, the mod creates config/better-seats.properties:
batch-render-submissions=true
skip-static-model-reset=true
max-render-distance=0
stagger-support-checks=true
Set max-render-distance to 16 through 512 blocks to enable the visual
distance tradeoff, or leave it at 0 for vanilla behavior. Restart the game or
server after changing the file. skip-static-model-reset only affects the
batched path; set it to false to retain vanilla pose setup while testing batch
compatibility. The client batch and server staggering can be disabled
independently.
评论 0
登录后参与评分
还没有评论,来抢沙发吧