/execute facing and /execute rotated and /execute positioned does not work in the /execute sub-commands on realms
/execute as @s facing entity @s feet run /tp @s ~~~ gives the error 'syntax error: unexpected "entity" at "@s facing >>entity<< @s feet r"'
the facing entity, facing positioned, and rotated sub-command does not work as a sub-command and it only works as the first command in /execute when on realms
Note: I have found a workaround for this glitch, you type in the command as normal except before you type rotated or facing you put "run execute" so instead of this:
"/execute as @s facing entity @s feet run /tp @s ~~~"
It is instead this:
"/execute as @s run execute facing entity @s feet run /tp @s ~~~"
Here is another example, instead of this:
"/execute as @e [type=bat] at @s facing entity @p eyes rotated ~~90 run /tp @s ^^^0.2 facing ^^^5"
It is instead this:
"/execute as @e [type=bat] at @s run execute facing entity @p eyes run execute rotated ~~90 run /tp @s ^^^0.2 facing ^^^5"
Steps to Reproduce:
1.type this into the chat window while you have operator permissions: /execute as @s facing entity @s feet run /tp @s ~~~
Observed Results:
You get this syntax error: syntax error: unexpected "entity" at "@s facing >>entity<< @s feet r"
Expected Results:
The command should successfully execute and teleport the player to themselves facing straight forwards without giving any syntax errors.
2023-04-27, 04:12 AM
2023-05-31, 02:32 AM
2023-05-25, 01:37 PM
6
6
-