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

Underline and strikethrough in JSON text don't always render correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w17a
    • Fix Version/s: 20w18a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      UI
    • Mojang Priority:
      Important

      Description

      When using command like

      /tellraw @s {"text":"abc","strikethrough":true,"underlined":true}
      

      Observe that the rendered text is problematic.

      The strikethrough formatting is not rendered for the last entry of the chat hud and the underline formatting is not rendered for the second last entry of the chat hud (except when subtitles are visible, then they are rendered).

      This rendering problems happens as well if the custom text only has strikethrough or only has underlined as well; it is not caused by having two together. e.g.

      /tellraw @s {"text":"abc","strikethrough":false,"underlined":true}
      /tellraw @s {"text":"abc","strikethrough":true,"underlined":false}
      

      Did not take a screenshot with f3 because there is another bug MC-179839 where characters lose bits when f3 screen is on, so a screenshot without f3 demonstrates the bug best

        Attachments

        1. 2020-04-23_02.37.26.png
          2020-04-23_02.37.26.png
          112 kB
        2. 2020-04-23_02.40.25.png
          2020-04-23_02.40.25.png
          113 kB
        3. 2020-04-23_02.40.40.png
          2020-04-23_02.40.40.png
          113 kB
        4. d61d625a02_javaw.png
          d61d625a02_javaw.png
          22 kB

          Issue Links

            Activity

              People

              Assignee:
              boq [Mojang] Bartosz Bok
              Reporter:
              liach liach
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: