mojira.dev
MC-119945

Command Selector doesn't work

I Try to use @s to target the entity that activated the command and it says "Entity @s cannot be found".

Comments 2

With this are you attempting to run this from a command block? if you are you would need to do /execute @p ~ ~ ~ /say my name is @s

@s targets the entity which executes the command. The command block is not an entity, so it throws an error. Works as intended.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

Christopher Simmons

(Unassigned)

Unconfirmed

Minecraft 1.12, Minecraft 1.12.1

Retrieved