1

CustomModels and stuff Name Problem

TNOwen 5/7/19 2:06 pm
177
5/7/2019 11:52 pm
Can someone help me format this better?
Posted by
TNOwen
Level 30 : Artisan Miner
0

  Have something to say?

JoinSign in

1

CrazyCowMM
05/07/2019 11:52 pm
Level 54 : Grandmaster Cowboy
history
Formatting was changed for item names and lore to support JSON text components. You now name items the same way you would name an entity(almost) so for a Wooden Sword named Yee you would do /give @a wooden_sword{display:{Name:"{\"text\":\"Yee\"}"}}. And if you wanted to get rid of the italics you would add \"italic\":false ( {display:{Name:"{\"text\":\"Yee\",\"italic\":false}"}} ).


Lore is also very similar except with added brackets, so a sword named Yee with Woo in the lore would be /give @a wooden_sword{display:{Name:"{\"text\":\"Yee\",\"italic\":false}",Lore:["{\"text\":\"Woot\"}"]}}


Because names and lore are now formatted like this you can change the color just like you would a tellraw command.
1

Welcome