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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.16 Release Candidate 1, 1.16
    • Fix Version/s: 20w28a
    • Confirmation Status:
      Confirmed
    • Category:
      Rendering, Text, UI
    • Mojang Priority:
      Important

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              boq [Mojang] Bartosz Bok
              Reporter:
              omkhamsa omar mohammed aburob
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: