When typing an @a, @p or @r selector in a command and trying to use the "type" selector argument, before typing the equals sign, the chat tab-completes all applicable selector arguments, even though the result of actually tab-completing any of them still results in an invalid argument.
How to reproduce:
Open a world with cheats enabled.
Open chat and paste this without executing it:
/kill @a[typeLook at the command suggestions.
Expected result:
The error message "Option 'type' isn't applicable here at position 13: ...ll @a[type<--[HERE]" would appear above the chat box.
Observed result:
The command suggestions box popped up and suggested all applicable selector arguments.
Thank you for your report!
We're actually already tracking this issue in MC-124974, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote or any additional information to the main ticket it would be appreciated.
Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.
Quick Links:
📓 Bug Tracker Guidelines – 🛠 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 💬 Mojira Discord