14

I have heard it was possible to change the names and lores of Minecraft items WITHOUT the use of third-party programs like MCEdit. Given the things that my friends have told me, and from the information gathered online, my guess is that, since Minecraft has started using JavaScript, /give @p 35 1 14 {name:"Red Wool",lore:"bob"}. Whenever I run this command block, all I get is a piece of Red Wool with no Lore, nor a name. I also get no errors in this process.

  • I believe Minecraft actually uses JQuery, iirc. It is possible, for sure. Give me a minute to figure out the actual command. – Unionhawk Dec 5 '13 at 7:39
  • Actually, It uses neither. It uses Java, witch is completely different. JSON is a method of describing objects, derived out of Javascript, but used in many different languages. Minecraft nbt in commands are designed to JSON-like. – Ben Aubin Jan 2 '16 at 18:26
22

You're close. The command for this particular case would be /give @p wool 1 14 {display:{Name:"Red Wool",Lore:[Bob]}}, which results in:

Result of command

The format for the lore text is in brackets allows you to add new lines by using commas, as well. In this case, the command is /give @p wool 1 14 {display:{Name:"Red Wool",Lore:[Bob, Joe]}}. This results in:

Result of command

You can also include multiple words or [] in the lore, but you need to use quotes like /give @p wool 1 14 {display:{Name:"Red Wool",Lore:["Multiple Words"]}}. This results in:

Result of command

This also works with multiple lines. /give @p wool 1 14 {display:{Name:"Red Wool",Lore:["Multiple Words", "Multiple Lines"]}} results in:

Result of command

If you are using quotes in your custom lore or name, escape it with \ before the quote. An example command that escapes quotes would be /give @p wool 1 14 {display:{Name:"\"This is in Visible Quotes\"",Lore:["\"Lore with Quotes\""]}}. You can see the result of that command below:

Result of command

For more information on all the new special data tags you can use, check out this post on the Minecraft Forum.

  • 5
    And here I thought they were referring to renaming something on the anvil. – James Dec 5 '13 at 7:57
  • 1
    You should generally quote your strings, even in arrays – SuperJedi224 Feb 16 '16 at 3:04

protected by Community May 31 '14 at 20:08

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.