mojira.dev
MC-133332

Mobs must walk to update their facing direction

The bug

Attempting to teleport a mob using the caret coordinates will cause them to teleport relative to the direction they last walked towards, rather than the direction they are facing.

Trying to make the zombie/mob teleport forward, it instead moves sideways as that is the direction it last walked even though it is facing a different direction.

/execute as @e[type=minecraft:zombie] at @s run tp @s ^ ^ ^1

This also occurs when trying to teleport other entities relative to the zombie's/mob's rotation.

Linked issues

Attachments

Comments 4

Confirmed for 1.13.1.

confirmed for 1.16 Pre-Release 5.

Can confirm in 20w49a.

Duplicate of MC-141744 since this is a more active ticket that provides more information regarding this issue.

Kyrike

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.13-pre7, Minecraft 1.13.1, 1.16 Pre-release 5, 1.16.4, 20w49a

Retrieved