Add JSON Text Formatting to Item Lore. Add Unicode Return Character Support to Lore and Mob Names.
This is something I've noticed that seems to have slipped through the cracks for the most part, but I would really appreciate an update to the /give command for when you give an item with lore, so you could then use JSON formatting (similar to the /tellraw command) in each line of text. For example, I would really appreciate something along these lines to work:
/give @p diamond_sword{display:{Lore:["\"text\":\"Green\",\"color\":\"green\""]}}
As a side note, I would also appreciate if support for the unicode return character in mob names and lore was added alongside this. (Ex. \u00a7 is the unicode/color character used in /tellraw (§), adding a (0-9, or a-f) after it is an alternative way to coloring /tellraw messages.) For example,
1. /summon armor_stand ~ ~ ~ {CustomNameVisible:true,CustomName:"\"\u00a7a Green\""}
2. /give @p diamond_sword{display:{Lore:["\"text\":\"\u00a7b Aqua\""]}} 1
1. Would summon an armor stand with a green name called "Green" 2. Would give an aqua colored item
For clarity, the traditional method should still be something that can be used, and JSON formatting in lore should not be required, but rather be an option, similarly to how it works in summoning mobs with colored names (using JSON formatting.)
Please sign in to leave a comment.
0 Comments