Mineuniverse
Log in Register
Mods

BB Preload World

A crude way to preload the Distant Horizons chunks, for single player and multiplayer
by BillBodkin
Download Claim this project
1,102 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Server Utility

BB Preload World

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

Discord

GitLab

For questions Discord is preferred, for issues GitLab is preferred.

bb_preload_world-1.3.1
MC Fabric, Client, 1.21.1, Server
Release 2024-09-28 Get

More from BillBodkin

Ad Astra Cargo Rockets
763
F-Tech: Robots
5,294
Extractinator Tweaks (Fabric)
49,891
Conveyor Belts (Fabric)
29,305
Research
210
Auto Workstations (Fabric)
1,619,545

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579