Minecraft Blogs / Tutorial

Spawning Custom Items Part 1 (Names and Lore)

  • 53,763 views, 1 today
  • 16
  • 4
  • 19
Blu3Tofu's Avatar Blu3Tofu
Level 40 : Master Lava Rider
When I say enchanted items, I don't mean like using /enchant to give a diamond sword sharpness V. I mean like giving a blaze rod knockback 100 by using custom NBT tags in commands. By the way, its helpful to sometimes to use a command block instead of just typing the commands directly into chat because you can type more characters on the command block than you can in chat. Lets get straight to the point.

This is a guide for people who want to mess around with items or for novice map makers. Before we dive into how to add Sharpness level 9999 to your "God Sword". you need to know the format for adding tags. Normally, you could just pop an item out of the creative menu and use it straightaway, but for custom items, you're going to have to use the /give command. For those who don't know what that is (Probably newer player), /give is used to give people items. The format for /give is /give [Extra Tags]. Player is who you're giving the item to (usually yourself), ID is the item/block id for the item you want (I'll put a bunch of helpful websites at the bottom of the page), Amount is how much of the item you want, metadata extra data and for our purposes, should be set to 0, and Extra tags is where all the magic happens. Lets say I want a blaze rod, so I would say /give Blu3Tofu 369 1 0. That would give me one blaze rod. Now, lets talk about the extra tags.
Tag Format

The tags at the end of every give command is where you put all the special data. When you type tags, make sure you put {} around the tags that you've typed, a : between every tag name and tag data, and a comma between every tag. If you don't know what this means, you'll find out soon enough.
Named Items

We'll start with named items and lore. Lets say you want a Diamond sword named. You could just use an anvil, but if you want to name it something longer, or if you want to put a description, you can use commands to do that. Say I want my diamond hoe named "Reaper's Scythe". The command I would use would be /give Blu3Tofu 293 1 0 {display:{Name:"Reaper's Scythe."}}, We already know what the /give blu3tofu 293 1 0 part means, but what about the rest? Well as I said before, to indicate you're noting tags, you have to put a {} around everything. the display:{ means we're editing the display tag, because the Name tags and Lore tags are sub tags of display. Not every single tag will have the { after the semicolon. The next part, Name:, signifies that I'm editing the name tag. Note that capitalization matters. The "Reaper's Scythe" shows what I'm changing the Name tag to. The quotes around it show that it's a string, and its not a number. After that, I have the closing }}s. You can change the item id and the name to whatever you please.
Items with Lore (Descriptions)
Lore is basically the text underneath the item name, like enchantments or potion effects. Lore is a tiny bit more complicated than names. Remember my "Reaper's Scythe"? I want the lore to say that it was originally used by the grim reaper to capture lost souls. Note that you cannot directly edit the tags on items, so I'll have to make a completely different scythe. I would use the command /give Blu3Tofu 293 1 0 {display:{Name:"Reaper's Scythe.",Lore:["Once owned by the Grim Reaper,","it was originally used to capture lost souls"]}}. We already know what everything does up until after "Reaper's Scythe". The comma after the name was to signify a new tag. The Lore tag showed that we were editing the lore tag, and the [] shows that there can be multiple tags within the Lore. Each set of quotation marks ("") is the text, and each comma separates them and creates a new line, so the command would give me a "Reaper's Scythe" with 2 lines of lore.
Final Word

That's mainly all you need to know for changing the display. Next part, we'll discuss how to make colored names and how to create any item with any enchantment with any level.
Helpful Links
List of Item IDs - You'll have to click load to view the item IDs

Thanks for reading! Leave a comment below if you have any questions.

Create an account or sign in to comment.

05/03/2018 3:20 pm
Level 2 : Apprentice Crafter
DogeHimself's Avatar
i was making a spongebob map and i wanted to rename paper to toilet paper but use a command block to generate it tnx :)
02/13/2017 9:54 pm
Level 1 : New Miner
Drago109's Avatar
part 2 coming? lol i neeed this lol
Edit: and yes i said lol twice cus im a noob get over it
12/12/2016 6:14 pm
Level 1 : New Miner
Jake1702's Avatar
Am I just stupid or is this way confusing? I can't figure out how to add it to the existing command /replaceitem entity @p slot.weapon.offhand minecraft:wooden_button 1 0 {AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:generic.attackSpeed,Amount:99999999,Operation:0,UUIDMost:90498,UUIDLeast:161150}]}
07/07/2016 7:31 pm
Level 1 : New Miner
TheAlaskanMutt's Avatar
I'm not trying to be mean or anything but I really would like too see the part two of this!! It wold be really cool!!!
08/31/2015 4:25 pm
Level 1 : New Miner
conquestidor's Avatar
im trying to summon a sword with a name and lore but im having trouble knowing where to put the
'display:{Name: "",Lore[""]}'

This is the command:
/execute @r ~ ~ ~ summon Item ~1 ~50 ~1 {Item:{id:276,Count:1,Damage:1557,tag:{ench:[{id:16,lvl:5},{id:17,lvl:10},{id:18,lvl:10},{id:19,lvl:5},{id:20,lvl:10}]}}}

Where does it go?
10/17/2016 4:27 am
Level 1 : New Miner
dj_ender_wolf's Avatar
In the command that you're after, you would put it after everything else in the tag. for example for the command:

/execute @r ~ ~ ~ summon Item ~1 ~50 ~1 {Item:{id:276,Count:1,Damage:1557,tag:{ench:[{id:16,lvl:5},{id:17,lvl:10},{id:18,lvl:10},{id:19,lvl:5},{id:20,lvl:10}]}}}

You would put 'display:{Name: "",Lore[""]}' before the last closing bracket, which would have the command as:

/execute @r ~ ~ ~ summon Item ~1 ~50 ~1 {Item:{id:276,Count:1,Damage:1557,tag:{ench:[{id:16,lvl:5},{id:17,lvl:10},{id:18,lvl:10},{id:19,lvl:5},{id:20,lvl:10}]}},display:{Name:"",Lore[""]}}

You MUST, i repeat, MUST put the comma before 'display', otherwise it won't work. Hope this helps :)
08/15/2015 9:27 pm
Level 10 : Journeyman Miner
DiamondArmorGoomba's Avatar
How do I:make a tool unbreakable and have it give an insane buff to the person holding it?
07/21/2015 10:06 pm
Level 1 : New Miner
divineholijr's Avatar
if you could help me sir i would like to know how to do this with 3 enchants with it as it says unbalanced square brackets , also this has to do with the lore thnx for the help if you answer! btw i know how to do enchants this cant combine with the lore
07/15/2015 8:28 pm
Level 1 : New Miner
captin_fuzzyfury's Avatar
would it be possible for me to out potion effects onto a specific peice of armor instead of a sword or something? for example I would name a leather chestplate to the letter B. Would it be possible, using this, to put a speed effect onto a peice of armor that is leather with the name B?
04/04/2015 6:14 pm
Level 1 : New Miner
fraeloc's Avatar
How do add unbreakable for that sword
Planet Minecraft


© 2010 - 2024