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

Creating multiple datapack dimensions which reference the same dimension_type string causes "unregistered dimension" crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16.2 Pre-release 2
    • 1.16.2 Pre-release 1
    • None
    • Windows 10, Java 8 Update 144
    • Confirmed
    • Custom Worlds
    • Important

      Creating multiple datapack dimensions which reference the same dimension_type string causes "The game crashed whilst exception in server tick loop
      Error: java.lang.IllegalStateException: Unregistered dimension type:" crash upon world creation.

      If I create separate dimension_type JSON files for each dimension I create (which are copies of each other apart from the file name) and link each dimension to a uniquely named one, world creation will complete successfully and the overworld will load; however, entering one of those custom dimensions (let's say dimension A) causes a lot of lag followed by an eventual nondescript crash.

      If I remove all dimensions but dimension_A.json and all dimension_types but dimension_type_A.json from my datapack and create a new world with it, the world loads fine and runs normally without crashes.

        1. crash-2020-07-31_16.18.11-server.txt
          2 kB
          Aidan Patterson

            Unassigned Unassigned
            wobbe2 wobbe
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: