Terrain Control

Terrain Control

235k Downloads

Branches spawn even if previous branches failed to spawn

Masy opened this issue ยท 2 comments

commented

This leeds to weird behaviour like in my case:
2016-09-15_18 54 16

I wrote a path generator wich first randomly generates a well which then generates paths so that every village has exactly one well. On the picture you can see that it tried to spawn the well, but it failed because of my BlockChecks, the paths still got generated though...

commented

I can also confirm I have experienced this issue, specifically when using multiple options for a branch, it continues to branch out even if a bo3 is selected without any more branches

commented

This is, unfortunately, intended behaviour. Terrain generation works on a single chunk in Minecraft. The terrain generator decided to spawn a village somewhere, and generated some paths. Once the chunk containing the center piece with the well was generated, the server noticed that the terrain wasn't suitable for a well after all. But at that point the paths were already generated...

This is why Minecraft villages spawn no matter what, even if the terrain turns out to be unfavourable.