What is the lore of your item?
Do your items have a backstory that the user should know? Want to give them a bit of personality? Here's how to give any Minecraft item custom, colorful lore text underneath their names!
The Code
/give @p minecraft:diamond_shovel[minecraft:custom_name=[{text:"Shovel of Doom", color:"#4444"}], lore=[{text:"Bringer of dirt", color:"#FFD700"}]]
How does it work?
- /give @p -> Gives the item to the nearest player.
- minecraft:diamond_shovel -> The item type that's being given.
- [...] -> The NBT data that will customize how the item will look.
- minecraft:custom_name=[{...}] -> JSON text that will give the custom name.
- "text":"Shovel of Doom" -> The item name.
- "color":"#4444" -> The color of the name (gray).
- lore=:[{...}] -> Adds lines of text under the item name.
- text:"Bringer of dirt" -> First lore line in gold.