mojira.dev
MCPE-169945

/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. 

Linked issues

Attachments

Comments 3

similar problem with the sub command positioned its very annoying this only happens in realms

Thank you for your report!
We're resolving and linking this ticket forward as a duplicate of MCPE-169974, as that ticket contains more detailed information and/or has already been triaged by Mojang.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

how is mine the duplicate because mine was posted first, also mine is more detailed than that other one

Andexter

(Unassigned)

Community Consensus

Multiple

command, realms

1.19.80, 1.19.81 Hotfix

Retrieved