MCTCP / TerrainControl

Minecraft Terrain Generator for SpigotMC and Forge
https://www.spigotmc.org/threads/terraincontrol.37980/
MIT License
230 stars 163 forks source link

Chunk is already being populated #480

Closed ghost closed 6 years ago

ghost commented 7 years ago

I'm running WorldBorder to pre-generate my world (partly to reduce load, partly because some structures don't spawn mobs when TC is enabled) and I'm getting this error: http://pastebin.com/9HRCsXGU This will also occasionally happen when WorldBorder isn't running/installed. Latest TC build and latest Spigot 1.11.

ghost commented 7 years ago

It appears as though this issue is related to the frequency at which chunks are generated/populated. It happened every couple of minutes at a frequency of 160 chunks/sec, but it has been running at 40 chunks/sec for around 15 minutes without issue.

rutgerkok commented 7 years ago

Looks like a jungle tree is extending into unloaded chunks - this results in two chunks getting generated at the same time, and therefore the error. I hope I can do something, but for now you can add PopulationBoundsCheck: false to the WorldConfig.

iiegit commented 7 years ago

in the config files I saw a warning that setting this to false causes the world to generate differently depending on which direction you explore in, would this affect the terrain heightmap generation or possibly cause visible seams in the world?

ghost commented 7 years ago

@iiegit It doesn't seem to have much effect. First screenshot is with it set to true, second is with it set to false and the terrain explored from a different direction. 2016-11-30_18 31 09 2016-11-30_18 35 04

rutgerkok commented 7 years ago

I think I fixed the issue, could anyone test this?

Download: http://build.mctcp.com/job/TerrainControl%20-%20Master%20-%20Gradle/169/default/