将 Minecraft 的渲染距离上限从 32 个区块提升至 512 个。
原版游戏将客户端的渲染距离滑块限制在 32 个区块(低内存安装时为 16 个)。Sodium 也使用了相同的限制,将其滑块范围硬编码为 setRange(2, 32)。
服务器端也有独立的限制:ChunkMap.setServerViewDistance() 使用 Mth.clamp(viewDistance, 2, 32) 对配置的视距进行钳制。这意味着即使你在 options.txt 中手动设置了更高的值,集成服务器或专用服务器仍只会发送最多 32 个区块。
本模组移除了上述所有限制:
- 将原版的
Options.renderDistance IntRange 最大值提升至 512
- 将 Sodium 的渲染距离滑块最大值提升至 512
- 将
ChunkMap 服务器视距钳制值提升至 512
因此,你可以在 Sodium 的设置中将渲染距离设置为 2 到 512 个区块之间的任意值,单人/LAN 世界也会真正加载远处的区块。
需要 Sodium。
Esc/菜单行为及其他所有视频选项保持不变。
性能提示: 极高的渲染距离——尤其是 256–512 个区块——可能需要大量的 RAM 和 CPU 资源。请先从较低的值开始,然后逐步增加。
在多人服务器上,服务器也必须允许足够高的视距。如果服务器不发送区块,客户端也无法渲染它们。
Raises Minecraft’s render distance limit from 32 chunks to 512.
Vanilla caps the client-side render-distance slider at 32 chunks (or 16 on low-RAM installations). Sodium uses the same limit, hardcoding its slider range to setRange(2, 32).
The server has a separate limit as well: ChunkMap.setServerViewDistance() clamps the configured view distance with Mth.clamp(viewDistance, 2, 32). This means that even if you manually set a higher value in options.txt, the integrated or dedicated server will still only send up to 32 chunks.
This mod removes all three limits:
- Raises the vanilla
Options.renderDistance IntRange maximum to 512
- Raises Sodium’s render-distance slider maximum to 512
- Raises the
ChunkMap server view-distance clamp to 512
As a result, you can set any render distance from 2 to 512 chunks in Sodium’s settings, and singleplayer/LAN worlds will actually load chunks that far away.
Requires Sodium.
Esc/menu behavior and all other video options remain unchanged.
Performance note: Very high render distances—especially 256–512 chunks—can require substantial RAM and CPU resources. Start with a lower value and increase it gradually.
On multiplayer servers, the server must also allow a sufficiently high view distance. The client cannot render chunks that the server does not send.
评论 0
登录后参与评分
还没有评论,来抢沙发吧