mojira.dev
MC-44654

Some entities don't update position to the client when teleported

The bug

When you try to teleport certain entities using the @e selector, they do not move visually (i.e. client-side), but actually move server-side. You can then for example not hit or interact with the entity and must reload the world to see its real position and hit it again.

Affected entities

  • Area effect cloud (minecraft:area_effect_cloud)
    Only when not changing size (?)

  • End crystal (minecraft:end_crystal)

  • Fishing bobber (minecraft:fishing_bobber)

  • Lightning bolt (minecraft:lightning_bolt)

How to reproduce

  1. Enable F3+B

  2. Run

    /summon minecraft:area_effect_cloud ~ ~ ~ {Radius:0.5,Duration:9999}
  3. Go some blocks away

  4. Run

    /teleport @e[type=minecraft:area_effect_cloud] ~ ~ ~

    → Notice that the Area Effect Cloud did not move

  5. Close the world and re-enter it
    → Notice that the Area Effect Cloud now changed its position

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

MC-45072 Teleporting Ender Crystals in End doesn't graphically move Ender Crystal Resolved MC-49306 EnderCrystals Resolved MC-55336 Ender Crystals will not teleport Resolved MC-66175 Teleporting EnderCrystals doesn't work until you relog Resolved MC-90066 AreaEffectCloud doesn't update Position dynamically Resolved

Comments 25

Confirmed.

Confirmed for 14w21b.

Duplicated by MC-49306

Confirmed for 14w25b

Confirmed in 14w33c as well, still broken

Sorry to double-post, but I just tried it in 14w34d as well, and the render glitch still happens there too

15 more comments

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w11a

In addition, falling_block entities have the same issue.

Can confirm in 1.19.2.

trinity pointard

Asteraoth

(Unassigned)

Confirmed

Platform

Normal

Commands, Entities, Networking, Rendering

area_effect_cloud, end_crystal, fishing_bobber, lightning_bolt, rendering, teleport

Minecraft 14w02c, Minecraft 14w03a, Minecraft 14w03b, Minecraft 14w08a, Minecraft 14w21b, ..., 1.19.2, 1.20.1, 1.20.6, 1.21 Pre-Release 2, 1.21.3

Retrieved