mojira.dev
MC-238582

Beaches generate between desert and ocean

The Bug

In some cases a beach biome is generated between deserts and oceans. This did not happen in 21w39a.

How to Reporduce

(updated to 21w41a)

Seed: 1
/execute in minecraft:overworld run tp @s 8420.70 81.13 15394.45 -225.30 55.65

Cause
The "pickBeachBiome" function in the BiomeBuilder decides between beach and desert by:

return temperature == 4 && humidity < 3 ? Biomes.DESERT : Biomes.BEACH

Until 21w39a this matched the placement of deserts by "pickMiddleBiome". However in 21w40a deserts are also generated in areas with temperature == 4 and humidity >= 3, but the "pickBeachBiome" function was not updated accordingly.

Attachments

Comments 2

I'd just like to shed some light on this tweet from @unknown as I feel it has some kind of relevance here.

This might have been fixed in 21w41a, I'm not quite sure though.

jacobsjo

migrated

Confirmed

Normal

World generation

21w40a, 21w41a

21w42a

Retrieved