-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2, Minecraft 18w44a, Minecraft 18w45a, Minecraft 19w03a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.15.2, 20w22a, 1.16.1, 21w03a, 1.16.5, 21w05b, 21w06a, 21w08b, 1.18.2, 22w16b, 1.20.1, 1.20.2, 23w43b
-
Confirmed
-
(Unassigned)
The bug
When you type /bossbar set foo:bar style, the command suggestions show the different styles ordered incorrectly. The style "notched_6" is after "notched_10", while 10 is a higher number.
This affects all string arguments where the string ends with a number, but not numeric arguments such as age block states.
Affected areas
Disclaimer: this absolutely affects more fields, but these can be reproduced without mods
Affected field | Affected command(s) | Affected selector argument(s) |
---|---|---|
Advancement IDs | advancement grant advancement revoke |
-(MC-130452) |
Advancement criteria | advancement grant ... only advancement revoke ... only |
-(MC-130452) |
Biome tags | execute if biome execute unless biome fillbiome ... replace |
- |
Block tags | clone ... filtered execute if block execute unless block fill ... replace |
- |
Boss bar IDs | bossbar get bossbar remove bossbar set execute store result bossbar execute store success bossbar |
- |
Boss bar style | bossbar set ... style | - |
Command storage IDs | data ... storage execute if data storage execute unless data storage |
- |
Dimension IDs | execute if in execute in execute unless in |
- |
Dimension tags | execute if in execute unless in |
- |
Entity type tags | - | type |
Function IDs | execute if function execute unless function function schedule clear schedule function |
- |
Function tags | execute if function execute unless function function schedule clear schedule function |
- |
Item tags | clear | - |
Loot table IDs | loot ... loot | - |
Predicate IDs | execute if predicate execute unless predicate |
-(MC-130452) |
Scoreboard objective IDs | execute if score execute unless score execute store result score execute store success score scoreboard objectives remove scoreboard players add scoreboard players enable scoreboard players get scoreboard players operation scoreboard players remove scoreboard players reset scoreboard players set trigger add trigger set |
-(MC-130452) |
Sound events | playsound stopsound |
- |
Tags | tag ... remove | -(MC-130452) |
Team IDs | team empty team join team list team modify team remove |
-(MC-130452) |
Steps to reproduce
Boss bar style:
- Type /bossbar set foo:bar style
- Observe that notched_10 is suggested before notched_6
Others listed:
- Create an instance of the affected field named test_2
- Create another instance with the named test_10
- Type an affected command for that instance
- Observe that test_10 is suggested before test_2
- relates to
-
MC-125115 Command suggestions don't order numbers from least to greatest
- Resolved