The view for player is not responsive when changed with "facing entity".
To reproduce :
/summon minecraft:armor_stand ~ ~ ~ {Tags:["rotation"]}
Repeating
execute as @p at @s run teleport @s ~ ~ ~ facing entity @e[tag=rotation,limit=1]
Comments 4
Obviously the player is turned only 20 times a second, so that can look like lag. However if you try this on older snapshots, like just when the facing entity was introduced, you will notice less lag from the view. So the problem came after.
The entity rotation is also even worse with zombies, skeletons... and every entity that can move its head vertically.
A part of the bug was fixed with MC-105139
Hi,
The second command make the player look at the armor stand,
if the player move it will looks like a lag, because the command will always
turn the player to the armor stand