Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-175010

A mob's facing direction only updates when walking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.15 Hotfix, 1.20.40.21 Preview
    • None
    • Confirmed
    • Multiple
    • 1108777

      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 \/

            InsecurleySecure InsecurleySecure
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: