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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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, 1.18 Pre-release 2, 1.18 Release Candidate 3, 1.18 Release Candidate 4, 1.18, 1.18.1, 22w07a, 1.18.2, 22w11a, 22w15a, 22w18a, 22w19a, 1.19, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 2, 1.19.2, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.2, 23w40a, 1.21, 1.21.2 Pre-Release 2
    • Confirmed
    • World generation
    • Low
    • Platform

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

      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.

        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. 21383622.png
          21383622.png
          3.66 MB
        5. End Generation Broke 1.png
          End Generation Broke 1.png
          945 kB
        6. End Generation Broke 2.png
          End Generation Broke 2.png
          1.27 MB
        7. End Generation Broke 3.png
          End Generation Broke 3.png
          4.15 MB
        8. End Generation Broke 4.png
          End Generation Broke 4.png
          1.49 MB
        9. End Generation Broke 5.png
          End Generation Broke 5.png
          1.15 MB
        10. End Generation Broke Code.png
          End Generation Broke Code.png
          516 kB

            Unassigned Unassigned
            Stephen Shaffran Stephen Shaffran
            Votes:
            115 Vote for this issue
            Watchers:
            65 Start watching this issue

              Created:
              Updated:
              CHK: