timvisee / dungeon-maze

:goberserk: DungeonMaze Craft Bukkit plugin - An amazing world generator for Bukkit and Spigot
GNU General Public License v3.0
29 stars 19 forks source link

Fix cut trees #42

Open sgdc3 opened 9 years ago

sgdc3 commented 9 years ago

2015-03-28_21 45 08

timvisee commented 9 years ago

Hello,

This seems to be caused by chunks that aren't generated yet while the surface is being populated with trees. Once a tree is placed on the edge of the world the parts that are placed on non-generated chunks are being cut off.

I currently don't know how to solve this issue. Possibly by storing the blocks that are generated 'outside' the world, an place them once the chunks are generated. But I don't know if this is a perfect solution.

What do you think about this?

Tim Visée

sgdc3 commented 9 years ago

You can force the generation of a chunk where is a part of a tree.

timvisee commented 9 years ago

That's true, but that could create an infinite chunk generation loop when you increase the tree density. Also, force-generating a chunk while another chunk is populating could break the generation process.

So in short, this should be solved differently.

Tim Visée