The bug
Caret notation (^ ^ ^
) can be used in all commands to move the effect relative to the direction an entity is facing. For example, /summon cow ^ ^ ^3
creates the mob three blocks in the direction the player is viewing, starting at their feet. This works as intended.
However, when used in execute
or detect
, the view direction is not used and the coordinates function exactly the same as if they were ~
.
How to reproduce
Face a diagonal direction and run this command:
/execute @p ^ ^ ^5 summon cow
β β Β The cow was summoned five blocks south instead of five blocks forward.
Thank you for your report!
We're actually already tracking this issue at MCPE-29942, so we will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature, to see if the issue has already been mentioned.
Quick Links:
π Issue Guidelines β π¬ Mojang Support β π§ Suggestions β π Minecraft Wiki