Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-238582

Beaches generate between desert and ocean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w42a
    • 21w40a, 21w41a
    • None
    • Confirmed
    • World generation
    • Normal

      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.

            hkniberg hkniberg
            CC_fan jacobsjo
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: