mojira.dev
REALMS-6568

Execute Command Bugs

There are two issues I've observed with the "execute" command, specifically with the /playsound and /spawnpoint commands.

 

To illustrate:

If I use this command:
execute @s[type=hs:dummy] ~ ~ ~ playsound mob.elf.haggle @a
the sound plays for everyone.
 
However, if I run this command:
execute @s[type=hs:dummy] ~ ~ ~ playsound mob.elf.haggle @a ~ ~ ~ 1 2
the sound only plays relative to the hs:dummy.
 
Same goes for this:
execute @s[type=hs:dummy] ~ ~ ~ spawnpoint @a 234 12 3456
works great, but,
execute @s[type=hs:dummy] ~ ~ ~ spawnpoint @a ~ ~ ~
makes the spawn point the same as the hs:dummy.
 
The expected result would be that the tildas after the playsound and spawnpoint command would be relative to whatever those commands are targeting, not what the "execute" was performed as.

Comments 4

Does this only happen on a Realm?

I haven't tested it locally, but it definitely happens on Realms.

Is this still an issue in the latest version (1.17.11)? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
This ticket will automatically reopen when you reply.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Brandon Ray

(Unassigned)

Unconfirmed

Bedrock

Retrieved