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

java.lang.IllegalStateException: Trying to access unbound value / Unbound values in registry - Valid dimension types or worldgen settings can be invalidated on world reload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.2, 22w12a, 1.19 Pre-release 1, 1.19
    • None
    • Unconfirmed
    • (Unassigned)

      The Bug

      An error of this type occurs when the provided datapack fails to update experimental worldgen settings during a second world load leaving that world entirely inaccessible even when datapacks are removed from their directory.

      Workaround

      A possible fix would be to remove the affected worldgen settings from the level.dat (using a tag editor like NBT Explorer).

      Although, as I'm not completely sure what causes this issue to occur, it seems that the custom dimension settings used to generate the new dimension are unable to be deleted if the game cannot locate those files in the datapacks (according to the game log).

      Reproduction steps:

      • Create a world with the attached experimental datapack
      • Make sure the datapack is enabled in the world
      • Disable the datapack providing the experimental settings
      • Quit the game
      • Attempt to enter the world again

        1. latest.txt
          47 kB
          Jatzylap

            Unassigned Unassigned
            J4TZplayZ Jatzylap
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: