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

Mesa clay layer distribution causing repeating rough edges and lines on surface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w20c
    • Minecraft 1.7.2, Minecraft 13w48b, Minecraft 1.7.4, Minecraft 14w06b, Minecraft 14w07a, Minecraft 1.7.9, Minecraft 14w20b, Minecraft 14w21b, Minecraft 1.7.10-pre4, Minecraft 14w25b, Minecraft 14w26b, Minecraft 14w26c, Minecraft 1.7.10, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.6, Minecraft 1.8.9, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1
    • Confirmed

      The bug

      As can hopefully be seen in my screenshots, obvious straight lines can be seen through the stained/hardened clay.
      This may be only in mesa plateau, or that may simply be the easiest place to see it as it is more flat. The seed I used was "mesa" for those examples, but I've tried several seeds and found signs of the same thing in every mesa I've visited.
      Sometimes it can be less obvious due to less contrasting colors at the surface level. As can be seen from mesa2, where I've put wool to indicate the chunk boundaries, these lines are chunk related. It seems that there's a chunk-sized area where one "height" of colors meets another (strip going north-south) and in this strip the "sides" alternate every chunk, producing these "fingers" going east-west. On one side of the "strip" the colors are assigned by Y one off from the other side. In mesa3 and mesa4 you can see that the effect isn't just on the surface, and goes all the way down in the clay.

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      It looks like the method net.minecraft.world.biome.BiomeMesa.getBand(int, int, int) is causing this by offsetting the used clay band index.

        1. 2014-02-08_12.55.33.png
          2014-02-08_12.55.33.png
          355 kB
        2. 2014-05-15_20.25.43.png
          2014-05-15_20.25.43.png
          434 kB
        3. 2014-08-30_03.48.16.png
          2014-08-30_03.48.16.png
          1.87 MB
        4. 2014-08-30_03.48.25.png
          2014-08-30_03.48.25.png
          1.74 MB
        5. 2014-08-30_03.48.48.png
          2014-08-30_03.48.48.png
          3.55 MB
        6. 2014-08-30_03.49.18.png
          2014-08-30_03.49.18.png
          4.84 MB
        7. 2014-08-30_03.49.29.png
          2014-08-30_03.49.29.png
          3.58 MB
        8. 2014-08-30_03.50.23.png
          2014-08-30_03.50.23.png
          5.26 MB
        9. 2016-02-25_17.35.53.png
          2016-02-25_17.35.53.png
          950 kB
        10. 2016-02-25_17.39.07.png
          2016-02-25_17.39.07.png
          887 kB
        11. mesa1.png
          mesa1.png
          1.39 MB
        12. mesa2.png
          mesa2.png
          1.63 MB
        13. mesa3.png
          mesa3.png
          647 kB
        14. mesa4.png
          mesa4.png
          432 kB

            Unassigned Unassigned
            mooo Moo
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: