10
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.
Introduction
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.
-Blu3Tofu
Introduction
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.
-Blu3Tofu
Credit | Dragnoz |
Tags |
tools/tracking
2614421
6
spawning-custom-items-part-1-names-and-lore
Create an account or sign in to comment.
Edit: and yes i said lol twice cus im a noob get over it
'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?
/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 :)