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

World gen datapacks will likely crash or softlock the game


    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.17.1 Pre-release 1
    • 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17
    • None
    • Windows 10, Java 16, Intel i7-7700HQ, GTX 1060 Max-Q.
    • Confirmed
    • Data Packs
    • Very Important

      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

            panda4994 [Mojang] Panda
            MatPit2002 KingSheepMC
            13 Vote for this issue
            8 Start watching this issue