-
Bug
-
Resolution: Won't Fix
-
None
-
1.19.4, 1.20 Pre-release 4
-
None
-
Confirmed
-
Commands
Including entity selectors as part of the message of a /say command should display the list of entities targeted by the selector.
However, this does not happen if "Only Show Secure Chat" is enabled in the chat settings.
This is unintuitive since it is not immediately obvious that this setting has this effect. If "Only Show Secure Chat" is disabled, there is no indication that such a chat message would be considered insecure.
Additionally, /say is frequently used for debugging purposes; to test which entities are affected by a specific entity selector without actually affecting anything.
How to reproduce
- Open or create a world with cheats enabled
- Make sure "Only Show Secure Chat" in chat settings is enabled
- Run /say @e in chat
Observed behaviour
The resulting message in chat is
[violine1101] @e
but the game log receives the message (when playing in singleplayer)
[Not Secure] [violine1101] Interaction, Marker, Marker, Marker, Item Frame, Item Frame, Item Frame, Item Frame, Item Frame, Item Frame, violine1101
Expected behaviour
Any of the following:
- Entity selectors are resolved in the ingame chat even if "Only Show Secure Chat" is enabled.
- If "Only Show Secure Chat" is disabled, messages with resolved entity selectors are marked as insecure.
- If "Only Show Secure Chat" is enabled, messages with unresolved entity selectors have some indication that the selectors have not been resolved because "Only Show Secure Chat" is enabled.