Background
In 1.18 the biomes are laid out in a 5d grid of noise values. Usually all grid cells are filed by one biome. However, if a grid cell is not filled, the world generation will pick the biome from the cell with the closest values.
The bug
For the combination of peak weirdness, coast continentalness, and erosions 0 to 3 there are no biomes defined. This causes the generation to sometimes pick ocean biomes (that are in the cells with lower continentalness) leading to them generating on land. These are the only grid cells that have no biome definitions.
Ingame effects
Here are some areas where oceans generate on land (sometimes very high up in the mountains) because of this bug. All of these positions are on seed 1 . (updated to 21w41a)
Ocean on land:
/execute in minecraft:overworld run tp @s -7100.73 103.11 63.60 20.70 49.80
[media]Ocean on peak:
/execute in minecraft:overworld run tp @s 28441.72 153.99 -2198.79 -28.80 46.50
[media]Linked issues
relates to 1
Attachments
Comments 9
Sorry about the duplicate. However this one has a Weird and very technical title so I didn't find it in my search so here is my information in 21w40a.
"This one is funny one. I love it but it's clearly a bug. Haha! 😆
The Ocean is a chunk or two wide but since the generation is a little higher than normal the water did not generate."
not the only bug to do with biomes i found one were it does not respect the temp value or depth value
seems with out the depth value it works fine if you find a lush cave or dripstone it swaps to surface biome at around y 55
heres my bug report MC-240791 cave biomes jump to surface biomes - Jira (mojang.com)
this is for users to look up do not remove
Was not fixed in 1.18 Pre-release 1, still occurs a ton with all ocean biomes, as well as river biomes. Should be reopened, and additional info should note that this happens with rivers as well, and produces the same issues.
[media]
Might be a duplicate of MC-237243, but this one has more info, so can confirm here.
Could this also be the cause of the weird generation of rivers (MC-236796)?