Customization with Minecraft - World Generation is slow

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.0.6 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Stopped

Problem Description

Issue

The world generation is so slow that even if I just run around, the world does not generate fast enough (so there are like holes and after a few seconds the world renders in). And when flying with the elytra you cant play at all. Please check and help. With that server performance im sure that the world generation should not be lagging at all. The mods I installed are not that heavy…

Reproduction Steps

  • booted the server and tweaked some settings.
  • added mods to the server
  • started the server.
  • world gen is very slow to that point where you cant play

That’s normal with modern MC while flying around, has been normal since they increased the world height in 1.18, and given that MC is mostly singlethreaded.
Doesn’t matter if your mods are not heavy, because MC’s worldgen is just heavy itself.
You’ll want to make sure that your render distance is something reasonable (the default is 10).
You can easily use the Spark mod server-side to pinpoint exactly what’s using up the main server thread.

https://www.curseforge.com/minecraft/mc-mods/chunkpregenerator

Chunky is better, but that’ll only help if chunkloading is the actual issue (Spark will tell you what’s probably causing the issue)