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

Brackets in potion effects are reversed in right-to-left languages

XMLWordPrintable

    • Confirmed
    • Rendering, Text, UI
    • Important

      The bug

      In potions and potion effects, the brackets are reversed. The characters "(" and ")" are switched.
      See attachments for an example.

      This is not a duplicate of MC-191571 or MC-190856 because for potions separate code (method net.minecraft.world.item.alchemy.PotionUtils.addPotionTooltip) is used. However, it would make sense to create a similar method to the one used by MC-191571 / MC-190856 nonetheless.

      How to reproduce

      1. Switch your language to any RTL language (eg. Arabic)
      2. Open the creative menu, in the potions tab.
      3. View any potion, and you will see that the brackets in the effects of the potion are reversed.

            boq [Mojang] Bartosz Bok
            omkhamsa omkhamsa
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: