mojira.dev
MC-128977

Massive lag with facing entity (jitter)

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

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

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

Please check if that's still an issue for you in 19w45a.

Daniel_2sdAc

(Unassigned)

Confirmed

(Unassigned)

head, rotation

Minecraft 18w16a, Minecraft 18w21b, Minecraft 18w22b, Minecraft 18w22c

Retrieved