When a desert pyramid generates above a big cave, sometimes the generation extends all the way down to the lowest y level, creating long sandstone pillars underground looking out of place.
How to reproduce
Create a world with the next seed:
7952659848528261022Execute this command:
/execute in minecraft:overworld run tp @s 5422.28 74.30 4182.59 72.49 30.28
Expected result
Desert pyramids wouldn't generate large sandstone pillars in caves.
Observed result
The desert pyramid generated extending all the way down to the bottom of the cave, creating sandstone pillars that look out of place.
Linked issues
Attachments
Comments 4
It is similar, but not the same issue. MC-238647 is about desert pyramids generating underground, but this is about these structures placing the sandstone pillars open to caves, which just looks horrible.
This happens because desert pyramids (and woodland mansions) generate a foundation below them. The way these foundations are implemented (I believe the mansion implementation is mostly separate from the pyramid one, but don't quote me on that) causes bugs like this and MC-237680. The latter is easily fixable, but for this issue I unfortunately don't think it's realistic to stop the foundation from generating into the cave in only those cases where there's a significant negative aesthetic impact. (That said, I would love to have foundations for custom structures at some point, so perhaps Mojang would take another look at this issue if they ever decided to implement that.)
Seems quite similar to MC-238647.