mojira.dev
MC-134480

Brackets are not suggested after tab-completing a command argument

Affects : Probably anything after which a bracket of any kind can be used, without adding a space first. Such as blocks in /setblock, /fill and /clone, items in /give, /clear and /replaceitem, and target selectors (that's everything I noticed, but there may be things I missed).

After tab-completing an argument (like /setblock ~ ~ ~ furna [TAB]), the bracket suggestions do not appear like they would if it was typed out manually. This also applies to the selector suggestions, e.g. (/kill @a[gamemode=survi [TAB])

Attachments

Comments 9

Is this still an issue in 18w30b?

I'm not sure what to think. It seems to have only been partially fixed, in the sense that you can for example write "minecraft:acacia_button{}" without having an error being displayed, but the game still doesn't suggest opening a curly bracket. Of course, this block would have no use of it (and it seems to be why that bracket isn't suggested, the same way " { " and " [ " are both "missing" for blocks such as carpets). But I guess a mod could add one ? Maybe that in this case, the curly bracket would then automatically start being suggested as well ? That would be a nice thing, but I am unable to test if that's the way it works.

 

To make it clear though, now " [ " does show in most cases for /fill, /setblock and /clone, as well as " { " for /give, /replaceitem and /clear (normal blocks only for the last one). And if the fact that they don't appear for any block is intended, then I guess we're still missing the suggestion " { " for all "#blocks" in /clear commands (but then I think it would be the only thing missing).

 

As for the part of the bug where I talked about brackets not showing after a tab-completion, I realized it must be WAI since "Tab" can be used to move between the suggestions. Of course it won't both allow to navigate through the block suggestions but only suggest the brackets at the same time.

It would have been nice if the game could provide the bracket suggestions in a more intuitive way, but both solutions I thought of are bad (keeping in mind a player not knowing about these brackets should still easily see them being suggested).

Anyway, maybe I should remove that part ?

I'm not sure what to think. It seems to have only been partially fixed, in the sense that you can for example write "minecraft:acacia_button{}" without having an error being displayed, but the game still doesn't suggest opening a curly bracket. Of course, this block would have no use of it (and it seems to be why that bracket isn't suggested, the same way " { " and " [ " are both "missing" for blocks such as carpets). But I guess a mod could add one ? Maybe that in this case, the curly bracket would then automatically start being suggested as well ? That would be a nice thing, but I am unable to test if that's the way it works.

 

To make it clear though, now " [ " does show in most cases for /fill, /setblock and /clone, as well as " { " for /give, /replaceitem and /clear (normal blocks only for the last one). And if the fact that they don't appear for any block is intended, then I guess we're still missing the suggestion " { " for all "#blocks" in /clear commands (but then I think it would be the only thing missing).

 

As for the part of the bug where I talked about brackets not showing after a tab-completion, I realized it must be WAI since "Tab" can be used to move between the suggestions. Of course it won't both allow to navigate through the block suggestions but only suggest the brackets at the same time.

It would have been nice if the game could provide the bracket suggestions in a more intuitive way, but both solutions I thought of are bad (keeping in mind a player not knowing about these brackets should still easily see them being suggested).

Anyway, maybe I should remove that part ?

Yes, please rework your report to actually reflect what you think is wrong here.

Can confirm that this is an issue in 20w49a.

Can confirm in 21w06a.

Can confirm in 1.19.

The item tag issue is MC-237306 (now fixed), so I've removed it from this ticket.

Azkunki

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.13, Minecraft 18w50a, 1.14.4, 19w36a, 1.16.4, ..., 21w06a, 1.19, 1.20.1, 1.20.4, 24w12a

Retrieved