Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-265971

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.2, 23w42a
    • None
    • Unconfirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            ManosSef ManosSef
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: