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

'/execute anchored' applies positional offset for relative (~) coordinates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • None
    • 1.19.60.25 Preview, 1.19.60.22 Preview, 1.19.50.20 Preview, 1.19.40.23 Preview, 1.19.50.24 Preview, 1.19.50, 1.19.51
    • None
    • Confirmed
    • Windows
    • 908002

    Description

      The bug

      When using /execute anchored to change the anchoring context of a command, a positional offset is applied to local coordinates (the ones denoted by carets ^ ^ ^). This offset is also applied to relative coordinates (the ones denoted by tildes ~ ~ ~), which does not match behavior in Java Edition. Attached to this ticket is the same command in both editions.

      Steps to reproduce

      • Create a new world with the Upcoming Creator Features experiment enabled (or use an existing world).
      • Place down a repeating command block, enable the Always Active setting, and enter the following command into it.
        /execute as @p at @s anchored eyes run particle minecraft:basic_flame_particle ~ ~ ~3
        

      Particle is positioned three blocks south and also at the player's eye height.

      Attachments

        1. bedrock.mp4
          8.04 MB
        2. java.mp4
          9.15 MB
        3. java's design intended, bedrock's wrong.jpg
          java's design intended, bedrock's wrong.jpg
          236 kB

        Activity

          People

            Sprunkles Sprunkles
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              CHK: