mojira.dev
MC-73719

Teleporting Ender Dragons with NoAI set to true won't update visual position

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

  1. /summon ender_dragon ~ ~ ~ {NoAI:true}
  2. /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

Attachments

Comments 21

Confirmed. /Testfor still detects it at the correct position, and the Ender dragon appears at the correct location after logging out/back in.

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.

11 more comments

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.

Sven Ender

qmagnet

(Unassigned)

Confirmed

Commands, Networking

ender_dragon

Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1-pre4, Minecraft 1.8.1, Minecraft 1.8.2-pre1, ..., 22w18a, 1.19, 1.19.2, 1.19.3, 1.21.1

Retrieved