The bug
The method net.minecraft.network.chat.ComponentUtils.wrapInSquareBrackets(Component)
(1.16.1, Mojang name) causes switched square brackets for right-to-left languages because it appends the brackets manually instead of using a translation string (e.g. [%s]
).
Affected
/give
: Item name in success message/team
: Team names/scoreboard objectives
: Objective names/seed
...
Reproduction steps
Change the language to a right-to-left one, e.g. Arabic (first right-to-left language in the list)
Use one of the affected situation listed above
Confirmed/Reproduced in 20w27a.