Mojira Archive
MCM-588

The line break functionality does not work when used in text in-game (books and signs).

Partner Rank: 3

Verification builds and Platforms:

ver. 1.10.0.7, build 1846015, Win10

Repro Steps:

 

  1. Add the line:
     txt.1=Test \n \n Test2 

    to the en_us.lang file in the resource pack of a default world.

  2. Select English (US) as the language.
  3. Load the world.
  4. Write the string: 
     {"rawtext":[ {"translate":"txt.1"}]} 

    into a book

  5. Click off the page.

Observed Results:

 

The following text appears:

Test \n \n Test2

 

*Expected Results:*

 

The following text should appear:

Test

 

Test2

 

Screenshots/Videos attached: No

Notes:

**Without the ability to use line breaks in the text, it severely reduces the ability to present text in Minecraft. A workaround to this is simply not using line breaks in the text at all, but the presentation would be affected. 

Another way would be to use different strings for each line break, but that presents a problem in books, (due to different languages potentially taking up more space on the page, and subsequently running out of space,) and signs, (because there isn't enough space to write two strings on a sign).

 

 

 

 

Invalid

Andrej Panic

2019-04-09, 01:58 PM

2019-04-12, 06:31 PM

2019-04-12, 06:31 PM

1

1

-

-