Description
English
Distant Horizons Chunk Preload Datapack
This datapack was designed to be used together with the Chunky mod. It is recommended to first preload the map with Chunky and then use this datapack to avoid lag while generating the Distant Horizons client files.
The main goal is to allow players to see the entire world on a server. In singleplayer, using only Chunky is enough to see the whole map with Distant Horizons. But on a server, you only see the chunks you actually walk through. With this datapack you can generate the Distant Horizons data files, then copy and share them with everyone who joins the server. This way, all players will see the loaded chunks, giving the game a massive immersive experience on the server.
Recommendation: use Chunky first
/worldborder set 20000
/chunky start
/chunky pause
/chunky continue
This allows you to preload the world within a defined limit (in this case, 20000 blocks). Afterwards, the datapack will generate the Distant Horizons files without causing lag spikes.
Initial setup
/function tpfix:tagme
/scoreboard objectives add tpfix dummy
World limits to cover
/scoreboard players set minX tpfix -10000
/scoreboard players set maxX tpfix 10000
/scoreboard players set minZ tpfix -10000
/scoreboard players set maxZ tpfix 10000
Step distance (in blocks)
Available values: 128, 160, 192, 224, 256
/scoreboard players set stepX tpfix 128
/scoreboard players set stepZ tpfix 128
Teleport delay (in ticks)
Suggested values: 20, 30, 40, 60, 80, 100
/scoreboard players set delay tpfix 40
Start process
/function tpfix:start
Extra commands
If you expand the world beyond 10000x10000 blocks (20000 total):
/function tpfix:start_here
Process control:
/function tpfix:pause
/function tpfix:resume
/function tpfix:stop
Show progress and estimated time:
/function tpfix:showz
Final important step
Once the process is finished and all chunks are loaded, go to the folder:
.minecraft/Distant_Horizons_server_data/world/
Inside you will find another folder containing several files. These files must be copied and shared with other players joining the server, so everyone can have the same fully loaded world view in Distant Horizons.
Summary
This datapack automates Minecraft chunk preloading to generate Distant Horizons data. It is designed for servers so that all players can see the fully loaded world, creating a much larger and more immersive visual experience.
Support and community
For any issue or bug you may find, feel free to comment or contact us through our Discord server VIVI2:
👉 https://discord.gg/C4sgWp4fCM
If you would like to support this project and keep up with our content, you can join our community where we share news, updates, and future projects.
Español
Datapack de Precarga de Chunks para Distant Horizons
Este datapack fue pensado para usarse junto al mod Chunky. Primero se recomienda precargar el mapa con Chunky y luego utilizar este datapack para evitar lag al generar los archivos del cliente de Distant Horizons.
El objetivo principal es que los jugadores puedan ver todo el mundo en un servidor. En un mundo de un solo jugador, si usas solo Chunky, ya podrás ver el mapa completo con Distant Horizons. Sin embargo, en un servidor solo verás lo que recorres físicamente dentro del juego. Con este datapack podrás generar los datos de Distant Horizons y luego copiarlos y compartirlos con las demás personas que entren al servidor. Así, todos verán los chunks cargados, dando al juego una inmersión masiva en el servidor.
Recomendación: usar Chunky primero
/worldborder set 20000
/chunky start
/chunky pause
/chunky continue
Esto te permitirá precargar el mundo dentro de un límite definido (en este caso, 20000 bloques). Luego, el datapack se encargará de generar los archivos de Distant Horizons sin causar picos de lag.
Configuración inicial
/function tpfix:tagme
/scoreboard objectives add tpfix dummy
Límites del mundo a recorrer
/scoreboard players set minX tpfix -10000
/scoreboard players set maxX tpfix 10000
/scoreboard players set minZ tpfix -10000
/scoreboard players set maxZ tpfix 10000
Separación entre saltos (en bloques)
Valores disponibles: 128, 160, 192, 224, 256
/scoreboard players set stepX tpfix 128
/scoreboard players set stepZ tpfix 128
Tiempo de espera entre teletransportes (en ticks)
Valores sugeridos: 20, 30, 40, 60, 80, 100
/scoreboard players set delay tpfix 40
Iniciar proceso
/function tpfix:start
Comandos adicionales
Si amplías el mundo a más de 10000x10000 bloques (20000 total):
/function tpfix:start_here
Control del proceso:
/function tpfix:pause
/function tpfix:resume
/function tpfix:stop
Mostrar progreso y tiempo estimado:
/function tpfix:showz
Paso final importante
Una vez que el proceso termine y todos los chunks estén cargados, debes ir a la carpeta:
.minecraft/Distant_Horizons_server_data/world/
Dentro encontrarás otra carpeta con varios archivos. Esos archivos son los que debes copiar y compartir con las demás personas que entren al servidor, para que todos tengan la misma vista completa del mundo cargado en Distant Horizons.
Resumen
Este datapack automatiza la precarga de chunks en Minecraft para generar los datos de Distant Horizons. Pensado para servidores, permite que todos los jugadores vean el mundo completo cargado, ofreciendo una experiencia visual e inmersiva mucho más grande.
Soporte y comunidad
Por cualquier problema o bug que encuentres, no dudes en comentarlo o comunicarte en nuestro servidor de Discord de VIVI2:
👉 https://discord.gg/C4sgWp4fCM
Si quieres apoyar este proyecto y estar más al tanto de nuestro contenido, puedes unirte a nuestra comunidad, donde compartimos novedades, actualizaciones y futuros proyectos.


