All Mods Resource Packs Data Packs Shaders Modpacks Plugins
BB Preload World

BB Preload World

by BillBodkin • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

Discord

GitLab

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

How to Install BB Preload World (Mod)

BB Preload World by BillBodkin is verified for Fabric across Minecraft versions 1.21, 1.21.1 (latest release: 1.3.3, file size: 1.5 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21, 1.21.1) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded BB Preload World file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.21
Fabric
last yr. 1
[1.3.3] BB Preload World 1.3.3 by BillBodkin on Nov 25, 2024
Download
Gamerule for how high to fly when preloading
[1.3.2] BB Preload World 1.3.2 by BillBodkin on Nov 04, 2024
Download
Supports preloading without DH
[1.3.1] BB Preload World 1.3.1 by BillBodkin on Oct 30, 2024
Download
Support for DH 2.2.0-a
[1.3.1] BB Preload World 1.3.1 by BillBodkin on Sep 28, 2024
Download

Updated for MC 1.21.1 and DH Alpha 2.2.1

[1.3] BB Preload World 1.3 by BillBodkin on Aug 24, 2024
Download
Multiplayer fix
[1.2] BB Preload World 1.2 by BillBodkin on Aug 03, 2024
Download
Lang fix
[1.1] BB Preload World 1.1 by BillBodkin on Aug 03, 2024
Download
More output to help identify issues
BB Preload World Icon
Download BB Preload World
Select game version
Select platform