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

The /tp @e[type=zombie] ~~2~~3 won't work in a command block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.51
    • None
    • Confirmed
    • Multiple
    • 947615

      Steps to reproduce

      1. Put this in a repeat, always active command block: teleport @e[type = !player] ~ ~2 ~ ~5
      2. Summon an armor stand.
      3. Change the command to: teleport @e[type = !player] ~ ~2 ~ 5

      Expected results

      In step (2) the armor stand spins because the rotation argument is applied relative to the targeted entity's current rotation. In step (3) it faces 5 degrees clockwise of south.

      Observed results

      In step (2) the armor stand dose not spin, and in both steps (2) and (3) it faces 5 degrees clockwise of due south. In other words, the relative rotation coordinate "~5" is treated as an absolute coordinate "5" inside a command block.


      after i updated the game and loaded up my world and creat new one and i realized

      the /tp @e[type=zombie] ~ ~2 ~ ~3 should work and make the entity spin but now it didn't

            king12334 king12334
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: