mojira.dev
MCPE-175010

A mob's facing direction only updates when walking

When a mob walks, you can't notice if the facing direction updates all the time, or just when it walks. This is fine, until you want to use a caret(^) in a command (I.e. teleporting a mob/player to where the mob is looking), it will only face in the direction the mob is looking IF the mob is walking.

Steps to reproduce:

  • Place a repeating command block.

Then, put this command into the command block:

/execute as @e[type=cow,c=1] at @s run tp @e[name="example"] ^ ^ ^5

                                                              Name any mob this /\

  • Spawn a cow, and then spawn any mob and name it "example".

  • Turn the command block on. Notice that the "example" mob only rotates with the body, even if anchored to the eyes, and only does so if the mob walks.

 

 

The chicken in the videos is to show where the game thinks the mob is facing.

Facing direction updating \/ Facing direction not updating \/

Linked issues

Attachments

Comments 4

Did you forget to attach a video?

I have linked two other reports as related, which may have the same underlying cause or be duplicates.

InsecurleySecure

(Unassigned)

1108777

Confirmed

Multiple

Multiple

1.20.15 Hotfix, 1.20.40.21 Preview

Retrieved