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

Snow and ice remain below tree leaves which generate into existing chunks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.13-pre7, Minecraft 1.13, Minecraft 18w31a, Minecraft 18w32a, 1.14.4, 19w40a, 19w46b, 1.15.2, 20w20b, 1.16 Pre-release 2, 1.16.2, 1.16.3, 1.16.4, 20w45a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w14a, 21w15a, 1.17 Release Candidate 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w41a, 21w42a, 1.18 Release Candidate 1, 1.18.1, 1.18.2, 22w11a, 22w13a, 22w14a, 22w17a, 22w19a, 1.19, 1.19.1 Pre-release 2, 1.19.2, 1.19.3, 1.19.4, 1.20 Release Candidate 1, 1.20, 1.20.1, 23w31a, 23w33a, 1.20.2 Pre-release 2, 23w44a, 24w12a
    • None
    • Confirmed
    • World generation
    • Low
    • Platform

      The Bug

      When terrain is being generated, sometimes snow will generate under trees instead of on top of them.

      This happens because the snow is placed first in an 8x8 section of a chunk. When the rest of the chunk is decorated, a tree can generate in another 8x8 section that projects into the previously-decorated 8x8 section. Result: snow is placed under the portion of the tree that projects over the older section and not on top of it. The borders of the misplaced snow are always aligned with the middle of the chunk.

      A similar effect can be seen in ice spikes biomes. Some patches of compressed ice are generated flush with the ground. Sometimes these generate partially covered in snow even though compressed ice is usually snow-free.

      A suggested fix: add a sanity check for snow cover in newly-generated chunks, and adjust it as needed. (Move it to the tops of newly-generated trees, or remove it from newly-generated ice spikes.)

      Steps to Reproduce

      • Locate and enter a biome that generates both snow and trees, for example, a "snowy_taiga".
      • Fly over the trees within this biome and take note as to whether or not if snow is sometimes able to generate below trees.

      Observed Behavior

      Snow sometimes generates below trees instead of on top of them.

      Expected Behavior

      Snow would always generate on top of trees instead of below them.

        1. 2017-08-25_14.33.25.png
          2017-08-25_14.33.25.png
          1.13 MB
        2. 2021-10-13_11.03.31.png
          2021-10-13_11.03.31.png
          2.89 MB
        3. MC-119599.png
          MC-119599.png
          1.63 MB
        4. 2023-08-06_02.02.51.png
          2023-08-06_02.02.51.png
          1.32 MB

            Unassigned Unassigned
            bdm68 bdm68
            Votes:
            29 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              CHK: