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

The End terrain does not generate in multiple rings centered around the world center

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.14.4, 19w36a, 1.15.1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w21a, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w11a, 1.17 Pre-release 2, 1.17, 1.17.1, 21w37a, 21w41a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      World generation
    • Mojang Priority:
      Low

      Description

      The bug

      The End generation is broken at long distances since 18w46a.

      In the End, the terrain stops generating and then generates again from a certain distance from the center of the End, according to a ring pattern.

      This donut-shaped pattern repeats over and over to the edge of the world on a regular basis, starting at 370,720 blocks from the center of the End.

      How to reproduce

      Use the following commands to teleport you:

      /execute in minecraft:the_end run tp @s 370720 90 0
      /execute in minecraft:the_end run tp @s 21007528 90 0
      /execute in minecraft:the_end run tp @s 21010807 90 0
      /execute in minecraft:the_end run tp @s 21377192 90 0
      /execute in minecraft:the_end run tp @s 21380415 90 0
      

      Examples



      Code analysis

      The code is trying to process numbers that are much larger than what Minecraft is actually capable of for its world terrain noise which causes part of the terrain noise to generate numbers that ultimatly get read as NaN (Not a Number) and causes the terrain generation to fail outright.

      For more information and a possible fix, see this comment from Shadew.

      Source

      Here is the source used to complete this ticket (examples, code analysis, visualization of what's going on...): https://youtu.be/91Feq0dHw28
      Video by AntVenom.

        Attachments

        1. 2019-08-20_22.17.43.png
          2019-08-20_22.17.43.png
          4.08 MB
        2. 2019-08-20_22.18.18.png
          2019-08-20_22.18.18.png
          3.79 MB
        3. 2019-08-20_22.18.49.png
          2019-08-20_22.18.49.png
          4.13 MB
        4. End Generation Broke 1.png
          End Generation Broke 1.png
          945 kB
        5. End Generation Broke 2.png
          End Generation Broke 2.png
          1.27 MB
        6. End Generation Broke 3.png
          End Generation Broke 3.png
          4.15 MB
        7. End Generation Broke 4.png
          End Generation Broke 4.png
          1.49 MB
        8. End Generation Broke 5.png
          End Generation Broke 5.png
          1.15 MB
        9. End Generation Broke Code.png
          End Generation Broke Code.png
          516 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Stephen Shaffran Stephen Shaffran
              Votes:
              68 Vote for this issue
              Watchers:
              41 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: