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

Words in chat do not wrap correctly and do not make a new line.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.7.4, Minecraft 14w07a
    • Fix Version/s: Minecraft 14w30c
    • Labels:
      None
    • Environment:

      Minecraft 1.7.4, Minecraft Snapshot 14w07a, Java Version 7 Update 51

    • Confirmation Status:
      Unconfirmed

      Description

      Hello Mojang Team,

      When words are in a long string such as a long word or link, they do not get wrapped correctly and therefore go onto a new line in the middle of the word or link.

      There are a few ways that I have found that the issue can be reproduced:

      The first one being here:

      tellraw @a {"text":"#########1 ########2 ########3 ########4 ","extra":[{"text":"some-text-without-spaces-here"}]}
      

      And the second being here. The only difference is that even though there is color present, it seems to make no difference.

      tellraw @a {"text":"#########1 ########2 ########3 ########4 ","extra":[{"text":"some-text-without-spaces-here","color":"red"}]}
      

      This is one more example of the formatting with a link and color involved.

      tellraw @a {"text":"","extra":[{"text":"Visit Google here: GOOOOOOOOOOOOGLE ","color":"white"},{"text":"http://goooooooooooooooooooooooooooooooogle.com","color":"dark_aqua"}]}
      

      This is a real-world example on a CraftBukkit server using a plugin for Auto-Announcing messages to the Server. You see the "for" in the second message is white (or reset) and still seems to be getting not wrapped correctly.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              CHCMATT Matt Anthony
            • Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: