-
Bug
-
Resolution: Fixed
-
Minecraft 1.10.2, Minecraft 1.11.2, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w32a, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, 1.14.4, 19w40a, 19w41a, 19w42a, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15.1, 1.15.2, 20w11a, 20w12a, 1.16.5
-
Confirmed
-
Datafixer
-
Very Important
The bug
The ender dragon cannot be respawned at an end portal if the dragon was killed before 1.9 and the resulting end portal is generated at a location other than (0,<y>,0).
Furthermore, when placing the necessary end crystals on the portal, this error will be logged:
[Server thread/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_51] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_51] at k.a(SourceFile:200) [1.13.1.jar:?] at net.minecraft.server.MinecraftServer.b(SourceFile:726) [1.13.1.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:681) [1.13.1.jar:?] at dgg.a(SourceFile:131) [1.13.1.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:584) [1.13.1.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] Caused by: java.lang.NullPointerException at bog.e(SourceFile:531) ~[1.13.1.jar:?] at asj.a(SourceFile:52) ~[1.13.1.jar:?] at atd.a(SourceFile:187) ~[1.13.1.jar:?] at tg.a(SourceFile:326) ~[1.13.1.jar:?] at uc.a(SourceFile:925) ~[1.13.1.jar:?] at nr.a(SourceFile:53) ~[1.13.1.jar:?] at nr.a(SourceFile:11) ~[1.13.1.jar:?] at ix.a(SourceFile:10) ~[1.13.1.jar:?] at ix$$Lambda$2000/1475818869.run(Unknown Source) ~[?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_51] at k.a(SourceFile:199) ~[1.13.1.jar:?] ... 5 more
What I expected to happen was:
The ender dragon would respawn.
What actually happened was:
The ender dragon did not respawn.
How to reproduce
- Download the attached world world_MC-104897.zip
- Load the world in 1.10.1 or later.
- Enter the active end portal. (You should spawn at a stronghold)
- Locate the exit portal, and place the necessary crystals.
→ See that the respawning process does not restart.
Code analysis (from MC-105304)
What seems to be happening (using MCP names) is that the fix for MC-103497 made DragonFightManager.respawnDragon() always try to use exitPortalLocation, even though findExitPortal() only sets this field when the detected portal is at (0,0). It should instead use the value returned by findExitPortal(), properly offset of course.
Workaround can be found here.
- blocks
-
MC-112774 Legacy end portal is replaced at the beginning of respawning instead of at the end
- Resolved
- is duplicated by
-
MC-105157 Dragon Does not respawn when End crystals are placed
- Resolved
-
MC-105304 Dragon cannot be respawned in an old world
- Resolved
-
MC-106243 Cannot respawn Ender Dragon in old World
- Resolved
-
MC-107325 Ender Dragon Will Not Respawn
- Resolved
-
MC-109104 Portal in the end is at Y=64. Placing 4 crystals does not respawn the dragon
- Resolved
-
MC-112111 Unable to respawn Dragon
- Resolved
-
MC-113124 There is no way to summon ender dragon.
- Resolved
-
MC-114186 1.8.9 - 1.11.2 Problems invoking the dragon a second time in upgrade of minecraft world.
- Resolved
-
MC-119687 Can't spawn ender dragon
- Resolved
-
MC-157650 EnderDragon doesnt spawn
- Resolved
-
MC-217500 Ender dragon not respawning in old worlds
- Resolved
- relates to
-
MC-215763 Placing end crystals during the ender dragon death animation won't resummon the dragon
- Open
-
MC-104736 DragonFight data is not completely restored after corruption from MC-103497
- Resolved