Description
Overview
Wisher's Proactive Chunk Preloader tickets chunks near players for the Minecraft Engine to generate. Think of this as an active, chunk pregenerator around server players.
This mod aims to improve the performanc of servers around terrain generation, especially for servers with a large number of terrain gen/features.
Operational Modes
There is 2 modes of operation: Moving, Idle.
These modes are dynamically applied to each individual player and update as their behaviour changes.
Operational Mode: Moving
When a player is considered Moving, the mod tickets additional chunks ahead of the servers view distance in the direction the player is moving, by default a little smaller of a radius than the server view distance.
This results in smoother terrain gen as a player explores as the server is already generating some of the terrain ahead of the player
Operational Mode: Idle
For the idle mode, by default this mod tickets a huge radius around the player, expanded from the servers view distance. This takes advantage of idle time on the server's cpu to generate everything near the player, so that when they start exploring the area around them has already been generated.
This mode effectively uses idle time on the cpu to provide a buffer around the player where they can explore and the server can stay more performant.
Config
There is config settings for just about everything this mod does, most features can be toggled on or off, and their specifics can be adjusted. The config is heavily documented and is ready out of the box for a vanilla installtion
Compatability
This mod pairs very well with other terrain related mods, since this mod does not interfere with the actual generation or loading logic, it simply requests that generation be done on ungenerated chunks near players. Examples of excellent mods to pair with this one is Concurrent Chunk Management Engine, or Distant Horizons
Performance improvements
This mod can save over 100ms per tick on a 1.21.1 modpack with over 400 mods, bringing the tps up to 20 while exploring. This ofcourse depends on the mods in the pack and the configuration of this mod. However in this example performance saved is only from a quick guess at the config values, its entirely possible this mod can do even better (this example does use Concurrent Chunk Management Engine).


