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

The terrain stops generating and then generates again from a certain distance from the center of the End

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.15.2, 1.16 Pre-release 8
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      The bug

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

      The terrain stops generating and then generates again from a certain distance from the center of the End.
      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 command to teleport to the End:

      /execute in minecraft:the_end run tp @s 370720 100 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.

      Source

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

        Attachments

        1. End Generation Broke 1.png
          End Generation Broke 1.png
          945 kB
        2. End Generation Broke 2.png
          End Generation Broke 2.png
          1.27 MB
        3. End Generation Broke 3.png
          End Generation Broke 3.png
          1.49 MB
        4. End Generation Broke 4.png
          End Generation Broke 4.png
          1.15 MB
        5. End Generation Broke 5.png
          End Generation Broke 5.png
          4.15 MB
        6. End Generation Broke Code.png
          End Generation Broke Code.png
          516 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ZeNico13 [Helper] ZeNico13
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: