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

'/execute facing' and '/execute rotated' does not work correctly without an executor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.40.23 Preview
    • 1.19.40.21 Preview
    • None
    • Plausible
    • Windows
    • 894369

      The bug

      When using /execute facing or /execute rotated without an executor defined in the command (for example when running a command from a command block) the rotation change is not applied.

      Steps to reproduce:

      • Create a new world with the Upcoming Creator Features experimental toggle enabled.
      • Place down a repeating command block and insert this command:
        /execute rotated 90 0 run particle minecraft:basic_flame_particle ^ ^ ^1
        

      It still acts as if the y-rotation were set to 0, emitting the particle southward.

      • Insert an /execute as into the command like so:
        /execute as @p rotated 90 0 run particle minecraft:basic_flame_particle ^ ^ ^1
        

      The rotation is now applied and the particle emits westward, despite the rotation conditions having not changed.

            Sprunkles Sprunkles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: