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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              CHK: