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

Execute/detect doesn't respect entity rotation when using local coords

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.8.1, 1.10.0.3 Beta
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Platform:
      Windows 10 - PC
    • ADO:
      173732

      Description

      The bug

      When using local coordinates in `execute` or `detect`, it always uses the default rotation facing south.

      How to reproduce

      /execute @s ^ ^ ^1 detect ~ ~ ~ stone say found stone
      

      This will trigger when there is a stone block south of you, instead of when there is a stone block in front of you.

        Attachments

          Issue Links

            Activity

              People

              Reporter:
              Misoloo [Helper] Misode
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: