At least ender dragons summoned without a DragonPhase seem to be able to "bug out" and be positioned at x=NaN, y=NaN, z=NaN.
If a player teleports to that dragon, the worldsave crashes and you get the info:
"[Server thread/INFO]: <Playername> lost connection: Invalid move player packet received"
Upon trying to reenter, you enter the world very briefly, then get kicked with the same message, and your worldsave will be unplayable.
No crash report gets produced.
To check on my bugposts related to ender dragons, I entered one of my according bugtest worldsaves.
In this worldsave is a (non-moving) dragon already waiting, summoned with /summon ender_dragon ~ ~10 ~
This time I did not see it and at first thought it was a visual problem (see https://www.youtube.com/watch?v=-7UESPgjZME)
I teleported to the dragon with /tp @s @e[type=minecraft:ender_dragon,limit=1], not knowing that it was at position NaN.
Then the crash occured:
Worldsave is unplayable now, but I always make backups upon entering with a new MC version.
Last time I had entered this worldsave was in 19w07a.
I don't know what changed since then that the Dragon will be now located at NaN/NaN/NaN if it was not summoned with a DragonPhase.
This also evidently happens to not only newly summoned dragons, but also those which have been already summoned in an older worldsave.
This crash/bug is reproducible with the attached worldsave Dragon Test_Crash-Reproduction.zip.
How to reproduce
- Enter worldsave
- Note that there is a dragon boss bar, but you can't see a dragon.
- Teleport to dragon:
You'll lose the connection/get kicked with "Invalid move player packet received"
- Try to reenter the world, you'll be able to, but only for a very short time.
Note that in the log it'll look similar to this:
and you'll get kicked immediately again.
I don't know why, but when I summon an ender dragon and then kill it, it removes 9 entities. No matter if the dragon got summoned with or without a DragonPhase. ( MC-146503)
Haven't searched yet if this was already reported; display of 9 killed entities confirmed by [Mojang] Panda.
/say @e[type=ender_dragon] also has 9 outputs, and all of them also have a different UUID, even though you only summoned 1 dragon before.
This happens also in freshly created worlds, be it the Legacy dragon or a freshly summoned one, when you execute the kill-command, it will find several dragons with different UUIDs and you'll be able to execute the kill-command several times. The amount seems to vary, so far it was either 6 or 7 or 9 times for me.