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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 14w30c
    • Minecraft 1.7.4, Minecraft 14w07a
    • None
    • Minecraft 1.7.4, Minecraft Snapshot 14w07a, Java Version 7 Update 51
    • Unconfirmed

      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.

        1. 2014-02-17_08.10.50.png
          209 kB
          Kumasasa
        2. 2014-02-17_13.23.40.png
          210 kB
          Galaxy_2Alex

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

              Created:
              Updated:
              Resolved: