mojira.dev
MC-126136

Inverted tab-suggestions for argument values in entity selectors are suggested even if the typed prefix doesn't include an exclamation mark

The bug

Inverted value tab-suggestions in entity selectors are suggested even if the prefix doesn't include an exclamation mark.

How to reproduce

  1. Type /clear @p[gamemode=c

  2. Look at the tab suggestions

Linked issues

Comments 3

Copy-pasta from MC-124990:

Part of this bug fix should be a change to how inversion (and by extension tags etc.) is handled by the suggestion engine.

Currently, every possible inversion is listed in the suggestion list.  Instead, aside from the list of suggestions, a single suggestion at the top, ! (or in the case of tags, #) should be included.  Then, after (if) the ! (or #) is entered, the suggestion list should again appear, rather than the current behavior which attempts to parse the ! as the entire value, and generates an error which suppresses the list of suggestions.

[Mod] redstonehelper

boq

Confirmed

Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w10c, Minecraft 18w10d, Minecraft 18w11a, ..., Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4

Minecraft 1.13-pre5

Retrieved