The bug
When you create a normal world (in 1.8.7) with this seed and get to these coordinates, you will see that there is a desert temple with a water lake on the one side in it. I assume that the desert temple made (by filling the blocks below it with sandstone) the spot valid for lakes. However like this it makes no sense because normally structures like temples, villages, strongholds, dungeons and mine shafts become generated after the terrain.
Seed:
7970370520536666030
Position:
/tp -200 64 124 -77 -3
It seems like the game generates the temples before the sand which gets generated before lakes.
Example seeds
Note: Please keep in mind that generation of lakes is dependent on the order in which you load chunks and might also change during versions.
If you cannot reproduce this bug using the following seeds, please try to locate a few structures (can be seen best with mansions) and see if you find lakes which generated inside of them.
Last updated for 21w40a
Seed: 6176757522236561139
/execute in minecraft:overworld run tp @s -1998.58 106.50 -2067.61 -117.60 55.50
Last updated for 20w07a
Seed: 7970370520536666030
Teleport first to
/tp -12384 ~ 91696
And then to (where the lake should be) to load the chunks in the correct order
/execute in minecraft:overworld run tp @s -12375.31 65.56 91658.74 17.40 38.85
Seed: 7970370520536666030
/execute in minecraft:overworld run tp @s -3066.46 70.22 234550.07 209.70 53.25
Seed: 4223008913981951312
/execute in minecraft:overworld run tp @s 1973.97 65.37 746.64 497.40 46.35
Related issues
is duplicated by
relates to
Attachments
Comments


Dupe of MC-7294

This is caused by water erosion. The temple is way older than the lake.

You are right, it was a long time ago when Egyptians built their pyramids...

Confirmed.
But the temple is looking way more interesting...

Confirmed in 1.10.2 & 16w39c

Confirmed in 16w40a

Can confirm for 16w41a

Confirmed in 16w42a

Confirmed in 16w43a

Confirmed in 16w44a

Confirmed in 1.11-pre1

Confirmed in 1.11

Confirmed in 16w50a

Confirmed in 1.11.2

In 18w31a snapshot I found an issue like this in a Woodland Mansion which is located on a lake.
Steps to reproduce:
Create a new creative world with seed: -5599346328227561486
/tp @p -13707 65 2809 50 15
Floor misses wood blocks, some of them should have carpet on them

Confirmed for 1.13.1.

I've heard that the reason this happens is because the water and lava lakes generate last, even after structures, which is just stupid.
Confirmed for 19w14a for pillager outposts.
Confirmed for mansions in 1.15. Use the seed -598042918476130 and there is a lava lake in a mansion at -380 63 -1040. The mansion obviously burns down right away.

Cannot reproduce in 20w07a. None of the seeds and coordinates work, sometimes because there isn't even a structure.

Was able to confirm this at least for mansions and updated the seeds and coordinates.

can confirm 20w19a

In 1.16.1 and 20w29a

Lakes probably shouldn't generate last, should they...

Confirmed 1.16.2
Can confirm in 20w51a. Here's an extra seed along with coordinates which demonstrates how lakes can generate inside of woodland mansions.
Seed: -6549889454106593879
Coordinates: /tp @p -4940 69 -6042 190 45
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w05b.

Can confirm in 21w08a. Also, this can also break the top 4 layers of bedrock, not the last one.
Can confirm in 21w11a.

Can confirm in 21w15a.

Frequently happens on chunk boundaries in mineshafts causing 1- or 2-wide tunnels.
Can confirm in 1.17.

Can confirm in 1.17.1.

Affects 21w40a.
Seed: 6176757522236561139
Coords: -2000 ~ -2070

This also affects rivers and aquifers.

@@unknown, could you please create a separate report for that? Because the changes to rivers and aquifers are still relatively new, it is (probably) unlikely that this is the same underlying issue. Please refer to this report so that we can link the reports.
We can still merge the reports in the future if necessary.

I have done so: MC-238817.

After testing, it seems that I was mistaken. The house is not partly replaced by the river, it just generates over it (MC-214795). I was under the impression that it was broken or replaced, but upon inspecting it seems that desert_cartographer_house_1
is just missing part of its floor. I created a separate report for this latter issue because I couldn't find a ticket for that: MC-238819.
Can confirm in 1.18.

In 22w13a.

In 22w14a.

Can confirm in 23w31a
Seed: 6984479431695682360
World type: Default
XYZ: Overworld /tp @s -158 69 4717
Screenshot:
Affects 1.21 RC 1
seed 3147443740128566640
tp /execute in minecraft:overworld run tp @s -4886.75 63.79 5126.80 -216.39 20.53

Can confirm for 1.21-rc1

Can confirm in 1.21.3

Confirmed in 1.21.4 prerelease 2

Relates to MC-225839.