Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-190854

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w30a, 1.16.3 Release Candidate 1, 1.16.3
    • None
    • Confirmed
    • Commands, UI

      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 ("{")

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: