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
Enable
F3
+B
Run
/summon minecraft:area_effect_cloud ~ ~ ~ {Radius:0.5,Duration:9999}
Go some blocks away
Run
/teleport @e[type=minecraft:area_effect_cloud] ~ ~ ~
→ Notice that the Area Effect Cloud did not move
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
is duplicated by 19
relates to 4
Comments 25
Duplicated by MC-49306
Confirmed for 14w25b
Sorry to double-post, but I just tried it in 14w34d as well, and the render glitch still happens there too
Confirmed.