Affects Version/s: Minecraft 1.8.3, Minecraft 15w37a, Minecraft 15w51b, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 16w15b, Minecraft 16w35a, Minecraft 1.11, Minecraft 1.12.2
Fix Version/s: Minecraft 18w30b
It seems like this affects every command. If you enter arguments behind the tab completion and then press TAB, it fails when there are multiple possibilities
When you enter the beginning of a particle name, have the other values set and press TAB, it will only complete the name, if there is only one particle name with this start. I expected rather that it would cycle trough all the names like the game does for every other command.
How to reproduce:
Enter the code and press TAB ([CURSOR] shows the position where the mouse cursor should be)
The reason for this seems to be that the onAutocompleteResponse(String p_146406_1_) method of the net.minecraft.client.gui.GuiChat class (MCP 1.8 names) does not remove anything after the next space when trying to complete. This means that the prefixes are identically but because one has the rest of the command behind it, the command pieces are treated as if the were not identically. This causes the common prefix "snow" to be replaced again with "snow".