mojira.dev
MC-137800

JSON Lore Formatting issue

Using the following command: 

/give @p minecraft:stone{display:{Lore:["{\"text\":\"T\",\"color\":\"yellow\",\"italic\":false}","{\"text\":\"e\",\"color\":\"red\",\"italic\":false}","{\"text\":\"s\",\"color\":\"green\",\"italic\":false}","{\"text\":\"t\",\"color\":\"blue\",\"italic\":false}","{\"text\":\"\\n\",\"color\":\"none\"}","{\"text\":\"JSON\",\"color\":\"white\",\"italic\":false}"]}}
[media]

Either I didn't format it correctly, or there's an underling issue.

 

Attachments

Comments 2

Just as before, each piece of Lore appears on a new line, so you want a single text component all in one Lore entry rather than 5 separate entries (because that's 5 separate lines).

I went ahead and fixed it for you 🙂

/give @p minecraft:stone{display:{Lore:["[{\"text\":\"T\",\"color\":\"yellow\",\"italic\":false},{\"text\":\"e\",\"color\":\"red\",\"italic\":false},{\"text\":\"s\",\"color\":\"green\",\"italic\":false},{\"text\":\"t\",\"color\":\"blue\",\"italic\":false}]","{\"text\":\"JSON\",\"color\":\"white\",\"italic\":false}"]}}

I appreciate your help, thank you much!

Mappy175 Gaming

(Unassigned)

Unconfirmed

Minecraft 18w43b

Retrieved