Terrain Control

Terrain Control

235k Downloads

Villages not spawning at correct altitude

Joannou1 opened this issue ยท 4 comments

commented

Been using TC/PHXTM for almost 4 years now, and I must say it never gets old seeing what you can make..

..Although I just recently upgraded the plugin (latest on Jenkins) and started with new configs and am having an interesting issue:
95023

On lower terrain the villages tend to be much higher up.
Really odd issue, any idea?

Biome config:
https://gist.github.com/Joannou1/818a59f4fcc8e4304836

Using latest Spigot/PaperSpigot

commented

Minecraft spawns villages at or above the world sea level, but never below. Minecraft uses a single variable for this; per-biome control is not possible. This means that Terrain Control has to use the water level in the WorldConfig for updating this Minecraft variable.

So setting WaterLevelMax to a lower value in the WorldConfig should solve the problem.

commented

Can't believe I didn't notice that!
Thanks for pointing that out!

commented

I usually check similarities between things, and I didn't bother with altitude :P
They all spawned at around the 100 mark, so yeah.

commented

If you haven't worked with the village code, how could you know that the spawn height of villages is related to the world water level? ๐Ÿ˜„

It's just one of the many quircks in the terrain generation of Minecraft.