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

DragonFight data is not completely restored after corruption from MC-103497

XMLWordPrintable

    • Confirmed
    • (Unassigned)

      Workaround
      Dragon cannot be respawned

      Try the methods described in this comment to correct the ExitPortalLocation.

      Existing end gateways are regenerated

      If you respawned the ender dragon as often as you had end gateways the next end gateway will generate correctly. For example if you had one end gateway and it was regenerated, the next ones will generate correctly and you will after all have all 20 gateways.

      In case you did not respawn the dragon as often as there are end gateways you will have to edit the NBT data of the world. Be careful with this method and make a backup of your world before trying it.

      1. Open the level.dat file of the affected world with a NBT editor such as NBTExplorer
      2. Navigate to DimensionData1DragonFightGateways
      3. Remove as many items (beginning at the top) as not regenerated gateways in your world exist. For example: There were 2 gateways. One was regenerated which lead you to this report. This means there is still one which was not regenerated, therefor you have to remove the first item from the list.

      The bug

      MC-103497 was about the <DragonFight> tag inside level.dat not being saved if no player visited the end during a server session, and then being regenerated incorrectly. This is now fixed. However, worlds that were affected by the bug do not have the regenerated data corrected.

      1. If <ExitPortalLocation> was regenerated prior to 1.10.1, it has an incorrect <Y> value that does not correspond to the actual portal in the world.
      2. The <Gateways> tag when regenerated contains the entire original list of gateways, thus killing the dragon will recreate existing gateways before opening new ones.

      As a workaround, both of these can be easily fixed by using an NBT editor to fix level.dat.

        1. Untitled.png
          Untitled.png
          3.80 MB
        2. New World-.zip
          768 kB
        3. level.dat
          2 kB
        4. 2016-12-17_12.21.36.png
          2016-12-17_12.21.36.png
          1.09 MB

            Unassigned Unassigned
            anomie x Anomie X
            Votes:
            16 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: