mojira.dev
MCPE-166885

NPC Commands Issue (Bedrock Edition)

Went to add a command for my NPC that adds tags to players within a 5 block radius of said NPC

/tag @p[R=5] add RealmInfo (Set to a button named I Understand)
Also attempted using just @p without the radius, same result just adds the tag to everybody instead of the closest player.

Upon using the NPC and clicking the button, instead of adding the tag to the nearest player and ONLY the nearest player, it adds the tag to every player in the game.

tested using
/tag @a list
shows 2 Entities with the tag, but only one of the players were nearby.

Comments 2

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, 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.

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

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

saiyanwarrior144

(Unassigned)

Unconfirmed

Windows

1.19.60

Retrieved