The bug
Ender dragons visual position doesn't update when NoAI
is set to true
. Ender dragons will visually update their position when NoAI
is set to false
. Other mobs work fine.
How to reproduce
/summon ender_dragon ~ ~ ~ {NoAI:true}
/teleport @e[type=ender_dragon] ~ ~10 ~
Note
The position of the Ender dragon is changed when teleporting, as logging out updates the visual and the sound can be heard immediately at the new coordinates.
This works will all other tested mobs. And does work if the Ender dragon doesn't have the NoAI
tag.
Linked issues
is duplicated by
testing discovered
Attachments
Comments

Probably yet another side effect of dragons being a 'complex entity', meaning they are made up of multiple entity parts, which are usually synchronized. If one moves, they should all move the same kind of way. It seems, however, the entity part that the tp command picks, does move the dragon, it just doesn't visually update its position.

Is this still an issue in the current Minecraft Snapshot 15w49b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Still confirmed for 1.12.1
Reopened and gave the ticket to @unknown.
Confirmed for 18w01a.
Confirmed for 18w03b.
Confirmed for 18w49a.
Confirmed for 1.14.2

Confirmed in 1.15.2 and 1.16 Pre-release 2. Related to MC-44654.
Can confirm in 20w46a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
Can confirm in 1.16.5 and 21w08b.
Can confirm in 1.17-pre4.
Can confirm in 1.17.1.
Can confirm in 1.18.2 and 22w18a.
Can confirm in 1.19.
Can confirm in 1.19.2.
Confirmed. /Testfor still detects it at the correct position, and the Ender dragon appears at the correct location after logging out/back in.