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

Advancement description text cuts words in weird places if title is too short

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w44a
    • 1.19.2, 22w42a, 22w46a, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b
    • None
    • Confirmed
    • UI
    • Normal
    • Platform

      The width of an advancement's description is set to the width of the icon and title of the advancement combined; any words that do not fit within this width get cut onto the next line, making reading short-title advancements' long-description words unnecessarily hard.

      Steps to reproduce:

      • Install the attached data pack
      • Look at the advancement screen

      Current result:
      "Squishing", "masterfully", "incorrectly", "unbearably" and "longstanding" are spread over multiple lines.

      Expected result:
      The advancement text's total width is set to the higher of "icon + title" or "longest description word" at least, OR higher of "icon + title" or a set, reasonable width, if the description would reach that width, OR OR, just have advancements use the full text width, and make the advancement creator responsible for adding newlines.

        1. test pack.zip
          0.6 kB
        2. 2022-10-23_21.46.29.png
          2022-10-23_21.46.29.png
          698 kB
        3. 2022-10-23_21.37.46.png
          2022-10-23_21.37.46.png
          702 kB

            gegy1000 [Mojang] Gegy
            jirauser71590 user-f2760 (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: