mojira.dev
MC-154787

Escape characters don't work with items

In 1.14 Lore formatting changed and you have to use  "\n" for new lines unlike 1.13 where you could put a simple coma between lines. However using "\n" does not put the text in the second line instead it creates (I believe) a "Line Feed" symbol between lines.

ex.

[media][media]

Linked issues

Attachments

Comments 8

Does using the carriage return make a difference? E.g. \r or \n\r ?

No, it just adds a carriage return symbol as well.

[media]

 

[media]

The old way is still used, a list of lines

Are you sure? Because first thing I tried was that and it gave me an item without a lore

/give @p pufferfish{display:{Lore:['"Line1"','"Line2"']}}

this bug is still ongoing.

@unknown, as indicated in this report, it is a duplicate of MC-39987, which has been resolved as Working as Intended.

MC-39987 which was marked "Working as Intended", was not actually "Working as Intended".
MC-39987 has been fixed. You can now use \n in chat.
However, you still can't use \n in item lore.

This report is neither a duplicate (since it's about items, not chat) nor working as intended (see above). Please reopen it.

As for why I'd like this bug fixed:
While it is possible to simply use a "list of lines", this is not possible when working with translations.
I would like to be able to have a translation that is 2-lines long (eg. English) and a translation that is 1-line long (eg. Japanese).
This would be really easy to do if \n worked in item lore, because I could simply make it so that the English translation has a \n in it.

Ayberk

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.14.2

Retrieved