If you kill the ender dragon using /kill @e it will not go to the center. When normally killing it the dragon even though dead will fly to the center portal area then die, but this is not the case for kill @e
Steps to reproduce
Go to the end
Do /kill @e
Observe the dragon
Observed results: the dragon dies and drops xp in place
Expected results: the dragon will fly to the center and die
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki