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

Snow sometimes generates under trees instead of on top of them

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bdm68 bdm68
              • Votes:
                6 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: