mojira.dev
MC-265971

Trying to use the "type" selector argument with @a, @p, or @r suggests all other arguments for tab completion

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:

  1. Open a world with cheats enabled.

  2. Open chat and paste this without executing it: /kill @a[type

  3. Look 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.

Linked issues

Attachments

Comments 1

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

[Mod] ManosSef

(Unassigned)

Unconfirmed

(Unassigned)

1.20.2, 23w42a

Retrieved