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

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

XMLWordPrintable

    • Confirmed
    • Crash, Custom Worlds
    • Very Important

      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

        1. crash-2020-06-05_12.19.07-server.txt
          2 kB
          Aidan Wilson
        2. latest.log
          5 kB
          Aidan Wilson
        3. mc-187673.json
          2 kB
          [Helper] Misode
        4. worldgen_settings_export.json
          6 kB
          Aidan Wilson

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

              Created:
              Updated:
              Resolved:
              CHK: