The /tp @e[type=zombie] ~~2~~3 won't work in a command block
Steps to reproduce
- Put this in a repeat, always active command block: teleport @e[type = !player] ~ ~2 ~ ~5
- Summon an armor stand.
- 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
2022-12-15, 07:06 PM
2024-10-02, 03:36 PM
2
3
947615
-