mojira.dev
MC-123772

The Lore strings cannot be formatted in json

As the title says, the Lore strings cannot be formatted as json, it'll just show the direct string:

example, use:

give @s stick{display:{Lore:["{\"text\":\"Hello\"}"]}}

Side note: a new function may want to be added for loot tables, for the same reason as the set_name function got added.
Side note 2: might as well be changed to a single string rather than a list of strings.

Linked issues

Comments 24

A similar issue occurs with version numbers in the Singleplayer world selection menu, it shows the entire unformatted JSON string (e.g. "TextComponent:{text='1.12.2', siblings=[]..." instead of formatting it (e.g. "1.12.2"). (Not sure if that classifies as a separate issue though)

The same goes for display:{Name:

display.Name can have json just file.

give @s stick{display:{Name:"{\"text\":\"Hello\"}"}}

This still affects 18w02a. Please update.

14 more comments

Affects 1.13-pre8. Jeez Mojang. You fixed team display names, but not LORE? One of those is obviously more important... 😞

Affects 18w31 and 32a. 

Confirmed for 1.13.2-pre2.

Finally resolved in 18w43a/b
<3 <3 <3

user-f2760

Nathan Adams

Confirmed

Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, ..., Minecraft 1.13, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.1, Minecraft 1.13.2-pre2

Minecraft 18w43a

Retrieved