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

World gen datapacks will likely crash or softlock the game

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17
    • Fix Version/s: 1.17.1 Pre-release 1
    • Labels:
      None
    • Environment:
      Windows 10, Java 16, Intel i7-7700HQ, GTX 1060 Max-Q.
    • Confirmation Status:
      Confirmed
    • Category:
      Data Packs
    • Mojang Priority:
      Very Important

      Description

      The Bug

      In 1.17 Release Candidate 1, creating a world with a datapack will most of the time crash the game, or sometimes give a crash report with a java.lang.ArrayIndexOutOfBoundsException. It may take multiple attempts to reproduce the bug.

      How to Reproduce

      1. Use the datapack VanillaWorldgen.zip
      2. Type in the seed 1 using default world type
      3. Load the world

      The Error

      It will most of the time softlock the game while generating the world, leaving a glitchy screen. Or the other hand, it will crash the game with a crash report, usually like this crash-2021-06-04_11.19.29-server.txt

        Attachments

          Activity

            People

            Assignee:
            panda4994 [Mojang] Panda
            Reporter:
            MatPit2002 KingSheepMC
            Votes:
            13 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: