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

Casting issue: Temperature loses precision at high distances leading to incorrect snow and ice generation and incorrect snowfall

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.1, 20w28a, 1.16.2 Pre-release 1, 1.16.3 Release Candidate 1, 1.16.3, 21w03a, 21w20a, 1.17.1, 1.18 Pre-release 1, 1.18.2, 1.19.2, 1.19.3, 23w03a, 23w05a, 1.19.4, 23w13a, 1.21.3, 24w45a, 1.21.4 Release Candidate 3
    • Confirmed
    • World generation
    • Low
    • Platform

       

      It appears that the natural generation of snow layers in Extreme Hills biomes and such uses a 32-bit float in its generation somewhere, causing it to break somewhat when far from the origin. This can be seen in vanilla by teleporting over 16777216 blocks out, preferably on both axes, and finding an Mountains biome (or just generating a custom world with exclusively Mountains) - any areas that would have had patchy areas of snow in vanilla will now be slightly more angular than they would normally be, being composed of more straight lines and squares.

      This first started happening in 16w02a - versions prior (13w36a to 15w51b) are completely unaffected by this. For example, here's a screenshot of 1.8.2-pre4 (left) and 1.15.2 (right), with seeds provided:

      I am not sure if this bug can cause crashes like MC-185925 did.

        1. 2020-06-29_18.24.29.png
          2020-06-29_18.24.29.png
          805 kB
        2. 2020-06-29_18.25.57.png
          2020-06-29_18.25.57.png
          3.64 MB
        3. 2020-06-29_18.32.13.png
          2020-06-29_18.32.13.png
          4.27 MB
        4. 2020-06-29_18.36.24.png
          2020-06-29_18.36.24.png
          4.06 MB
        5. 2020-06-29_18.51.54.png
          2020-06-29_18.51.54.png
          3.63 MB
        6. 2020-06-29_18.52.50.png
          2020-06-29_18.52.50.png
          3.85 MB
        7. 2020-06-29_18.54.43.png
          2020-06-29_18.54.43.png
          3.43 MB
        8. 2020-07-11_18.48.13.png
          2020-07-11_18.48.13.png
          719 kB
        9. 2020-07-11_18.52.49.png
          2020-07-11_18.52.49.png
          360 kB
        10. 2020-07-11_18.59.05.png
          2020-07-11_18.59.05.png
          409 kB
        11. 2020-07-13_00.33.32.png
          2020-07-13_00.33.32.png
          497 kB
        12. 2020-07-13_00.33.52.png
          2020-07-13_00.33.52.png
          446 kB
        13. 2020-07-13_00.34.22.png
          2020-07-13_00.34.22.png
          479 kB
        14. 2020-07-13_00.35.04.png
          2020-07-13_00.35.04.png
          477 kB
        15. 2020-07-13_00.36.00.png
          2020-07-13_00.36.00.png
          572 kB
        16. 2020-08-05_18.00.06.png
          2020-08-05_18.00.06.png
          1.98 MB
        17. 2020-08-05_18.03.20.png
          2020-08-05_18.03.20.png
          2.23 MB
        18. 2020-08-05_18.05.20.png
          2020-08-05_18.05.20.png
          4.34 MB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            115 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              CHK: