这是 Noisium 的 Forge 移植版。
Noisium
优化世界生成性能,带来更流畅的游戏体验。
在原版 Minecraft(基于 1.20.1 Fabric 版本基准测试)中,生成新区块时的速度提升了约 20-30%。
Noisium 修改了其他模组未触及的世界生成函数,以填补其他性能优化模组留下的空白。最显著的是对 NoiseChunkGenerator#populateNoise 进行了优化,从而加快生成新区块时的方块状态放置速度。此外还有另外三项较小的优化,分别提升了生物群系填充速度、区块解锁速度以及为生成而采样方块状态的速度。
在 NoiseChunkGenerator#populateNoise 中,通过抽象层/内置函数设置方块状态的方式被绕过。相反,方块被直接设置在调色板存储中,从而绕过了大量计算和 Minecraft 通常在设置方块时执行的有用操作;但在生成世界时,这些操作只会拖慢速度,因此这是一种循环优化。
Noisium 与原版世界生成(无 Noisium 的世界生成)保持完全 1:1 的一致性。
It's a port of noisium for forge.
Noisium
Optimises worldgen performance for a better gameplay experience.
The improvements lie between a 20-30% speedup when generating new chunks in vanilla Minecraft (benchmarked on 1.20.1 Fabric).
Noisium changes some world generation functions that other mods don't touch, to fill in the gaps left by other performance optimisation mods. Most notably, NoiseChunkGenerator#populateNoise is optimised to speed up blockstate placement when generating new chunks. There are also 3 other smaller optimisations, that increase biome population speed, chunk unlocking speed, and the speed of sampling blockstates for generation.
In NoiseChunkGenerator#populateNoise, setting the blockstate via abstractions/built-in functions is bypassed. Instead, the blocks are set directly in the palette storage, thus bypassing a lot of calculations and things Minecraft does that are normally useful when blocks are set, but when generating the world only slow it down, this is a cycle optimisation.
Noisium has full 1:1 parity with vanilla worldgen (worldgen without Noisium).
评论 0
登录后参与评分
还没有评论,来抢沙发吧