BB Preload World
Distant Horizons 的现代版本已支持多人游戏中的区块加载,因此如果你使用的是较新版本,可能不需要此模组
此模组可在单人或多人游戏中使用,为 Distant Horizons 加载区块。
在多人游戏中,DH 只能缓存玩家已访问过的区块;此模组会将玩家置于旁观者模式并引导其遍历地图,以便客户端能够缓存这些区块。
作为额外好处,在执行此操作时,客户端的小地图模组也会随之加载。
使用方法
模组必须安装在客户端和服务器上。
如果在单人游戏中运行该流程,建议在 DH 设置中将“启用远距离生成”(Enable distant generation)设为 false。
你还可以在 DH 设置中将“CPU 负载”(CPU Load)调整为较高的配置档(记得在完成后再改回较低的配置!)。
要加载周围区域,玩家可使用命令 /bb_preload_world_start
若要在流程完成前取消,请使用 /bb_preload_world_stop
(在流程结束前运行停止命令可能导致区块缓存损坏)
在 30 个区块半径下,可能需要 30 分钟以上才能完成;在 60 个区块半径下,则可能需要数小时。
设置
设置通过游戏规则(game-rules)进行管理。
/gamerule bb_preload_radius 30 设置围绕玩家加载的区块半径(以区块为单位)。
/gamerule bb_preload_world_start_requires_opp true 将使 /bb_preload_world_start 需要 OP 权限才能使用。
/gamerule bb_preload_world_stop_requires_opp true 将使 /bb_preload_world_stop 需要 OP 权限才能使用。
工作原理
当启动预加载流程时,模组的服务端部分会跟踪玩家已到达的区块。
客户端会向服务器发送数据包,告知在 LOD 级别 0–6 中哪些区块已被缓存;当服务器收到该数据包后,会将玩家移动到下一个区块。
客户端还会告知服务器“排队中的区块更新”(Queued chunk updates)是否过高,或者队列中是否存在或正在处理任何“更新传播器任务”(Update propagator tasks)。如果上述任一条件成立,流程将暂停,以便让区块处理完成后再继续。
这是因为在我的测试中,如果客户端在区块已开始处理但尚未完成时就离开,可能会导致该区块缓存处于损坏状态。
联系方式
如有问题,优先使用 Discord 联系;如遇 Bug,优先使用 GitLab 提交。
BB Preload World
Modern versions of Distant Horizons now have chunk loading over multiplayer, so if you are using a new version you may not need this mod
This mod can be used in single-player or multi-player to load chunks for the use of Distant Horizons
In multi-player, DH can only cache chunks the player has visited, this mod puts the player into spectator mode and files them around the map so the client can cache these chunks.
As an added bonus, client-side mini-map mods will also get loaded in when doing this.
How to use
The mod must be installed on the client and server.
If playing in single-player, it is recommended to set "Enable distant generation" to false in DH settings while running the routine.
You can also set the "CPU Load" in DH settings to one of the higher profiles (remember to set it back to a lower one after!).
To load the surrounding area, players can use the command /bb_preload_world_start
To cancel the process before it has completed on its own, use /bb_preload_world_stop
(Running the stop command before the routine finishes may lead to corrupt chunk caches)
At a radius of 30 chunks, it can take 30+ minutes to complete, at 60 chunks it could take multiple hours.
Settings
Settings are managed via game-rules.
/gamerule bb_preload_radius 30 sets the radius (in chunks) that will be loaded around the player.
/gamerule bb_preload_world_start_requires_opp true will make /bb_preload_world_start require OP to use.
/gamerule bb_preload_world_stop_requires_opp true will make /bb_preload_world_stop require OP to use.
How it works
When starting a preload routine, the server-side part of the mod keeps track of which chunk the player has got to.
The client sends packets to the server saying when a chunk has been cached at LOD levels 0 - 6, when the server has received this packet it will move the player on to the next chunk.
The client also tells the server if "Queued chunk updates" is too high, or when there are any "Update propagator tasks" in the queue or being processed. If either of these are true, the routine is paused to allow chunks to finish processing before continuing.
This is because in my testing if the client moves away from a chunk that has started processing but not finished, it can leave that chunk cache in a corrupt state.
Contact
For questions Discord is preferred, for issues GitLab is preferred.
下载 BB Preload World
下载 BB Preload World
下载 BB Preload World
下载 BB Preload World
下载 BB Preload World
下载 BB Preload World
下载 BB Preload World
下载 BB Preload World
预加载时的飞行高度游戏规则
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧