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

Teleporting an entity facing up or down instantly resets xRot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.16.221 Hotfix
    • None
    • Unconfirmed
    • Windows

      When summoning a custom entity with no AI. (No behaviors to move or look around) and then running the following command:

       

      tp @e[type=ns:entity] ~ ~ ~ 0 90

       

      the entity looks directly down for a single tick & instantly resets its look direction back to 0.

      You can validate this by putting the tp command in a repeat command block, and then running:

      execute @e[type=ns:entity] ~ ~ ~ setblock ^ ^ ^1 gold_block

      And you will see it does place the gold_block under the entity. However, the moment the repeat command is stopped, the same command will result in the block being placed in the X,Z,-X,-Z once again.

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

              Created:
              Updated:
              Resolved: