mojira.dev
MC-190854

Command syntax help is affected by right-to-left languages

The bug

The command syntax help which makes suggestions in chat or command blocks is affected by right-to-left languages, converting "[" to "]", "{" to "}" and similar. This causes it to make invalid suggestions.

Affected situations

Likely incomplete

  • /give: Suggest "}" for item NBT

  • /setblock:

    • Suggests "]" for block state properties, "}" for block entity NBT

    • Suggests block coordinates reversed

    • Suggests tildes without space: /setblock ~~

Reproduction steps

  1. Change the language to a right-to-left one, e.g. Arabic (first right-to-left language in the list)

  2. Type the following command in chat

    /give @s command_block

    ❌ It suggests the closing "}" instead of the opening one ("{")

Related issues

Attachments

Comments

migrated
[media][media]
[Mod] Jingy

Affects 1.21, and relates to MC-153373 MC-268231 MC-117311

[media]

If possible, I'd like to request ownership of this report considering the original reporter has been inactive since 2022, and the report has not been kept up to date since 1.16.3.

[Mod] Jingy

(Unassigned)

Confirmed

Commands, UI

1.15.2, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w30a, 1.16.3 Release Candidate 1, 1.16.3, 1.21

Retrieved