OpenCubicChunks / CubicChunks2

Infinite* height mod for Minecraft - rewrite for versions above 1.12
MIT License
72 stars 21 forks source link

Better way to handle lake generation placement #54

Open Barteks2x opened 2 years ago

Barteks2x commented 2 years ago

The decorator projects onto surface, which requires completely different logic in cubic chunks worlds to get the same probability distribution.

How can we handle this in a somewhat general way?

Current implementation is a hack that injects a special marker block pos.

Potential solution: pattern matching common usages of such placement and features with projection on surface by hooking into codecs?