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

Making a dimension invalid does not unload the dimension and does not show errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.2, 20w45a, 20w46a, 20w49a, 1.18
    • None
    • Confirmed
    • Custom Worlds, Data Packs
    • Low
    • Platform

      The bug

      After a dimension has been loaded once, removing the dimension file inside a data pack, removing or disabling the data pack, does not disable the dimension. Additionally, no errors will be shown in the log.

      This is especially annoying when you are developing dimensions and you make a mistake. The dimension will act like it is unmodified. It will use a cached version of the worldgen settings in level.dat.

      How to reproduce

      1. Download the attached data pack MC-198209-1.18.zip. This adds one new dimension.
      2. Teleport to the custom dimension
        /execute in blip:foo run tp @s ~ ~ ~
      3. Disable or completely remove the data pack
      4. Save the world, and re-join
        Notice that you are still in the dimension

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: