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

[Crash] "java.lang.IllegalStateException: Unregistered dimension type"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.16 Pre-release 2
    • Fix Version/s: 1.16 Pre-release 3
    • Environment:
      Lenovo T430 with Windows 10. Newest version of java.
    • Confirmation Status:
      Confirmed
    • Category:
      Crash, Custom Worlds
    • Mojang Priority:
      Very Important

      Description

      The bug

      When creating a custom world with the dimension type defined as an object, the game crashes. This essentially means that you cannot define custom dimensions when importing world settings when creating a new world. This crash also happens when loading a dimension inside a data pack that uses an object as dimension type, rather than a string referencing a dimension type.

      Description: Exception in server tick loop
      
      java.lang.IllegalStateException: Unregistered dimension type: cic@50cbe633
      	at net.minecraft.server.MinecraftServer.a(SourceFile:407)
      	at net.minecraft.server.MinecraftServer$$Lambda$3891/471301969.get(Unknown Source)
      	at java.util.Optional.orElseThrow(Optional.java:290)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:407)
      	at net.minecraft.server.MinecraftServer.l_(SourceFile:334)
      	at eov.d(SourceFile:69)
      	at net.minecraft.server.MinecraftServer.v(SourceFile:646)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:256)
      	at net.minecraft.server.MinecraftServer$$Lambda$3854/1593184149.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:745)
      

      How to reproduce

      1. Download the attached world settings file mc-187673.json
      2. Create a new world and use the import world button
        The game crashes

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fry [Mojang] Georgii Gavrichev
              Reporter:
              TheRexYo3803 Aidan Wilson
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: