[Suggestion] getting rid of the floating chunks and blocks in overworld/nether generation
BugmanBugman opened this issue · 1 comments
Yep, this does happen, in various forms in both Vanilla generation and Simply Improved Terrain. I don't know if it would be in scope for this mod, or if it would be better suited as a separate mod that could be bundled with whatever. It would be straightforward to remove floating islands of diameter up to 15 blocks, though.
To do this, a mod could add a pass somewhere in the generation pipeline where there is access to the current chunk's terrain noise shape + all of its neighbors, then check for + remove shapes that don't connect with the main ground but have the aforementioned max diameter.
The diameter constraint would be to ensure unbiased culling regardless of offset relative to chunk borders or rotation, and avoid generation inconsistencies that result in chunk border cutoffs at the same time. Could probably also get away with just a max width check, or maybe a compromise between the two. It would be interesting to compare the results in different terrain gens, which islands get removed or left behind.
I might implement this at some point. Unsure if it will be in this mod or somewhere else. It probably wouldn't be able to be in the immediate future though.