/give with ench NBT tag doesn't work 1.8
//ads -- adsterra.com -- native banner
?>
I want an iron pickaxe with Silk Touch 1. I did this:
/give myNameHere minecraft:iron_pickaxe 1 0 {ench:[{id:33},{lvl:1}]}
However, it gives me an iron pickaxe that says "Silk Touch.enchantment.level.0" and "Protection 1" below that. The Silk Touch doesn't work, and I don't know why it gave me protection (is it because I only put one series of id+lvl?). Why is this? How can I fix this?
Best Answer
id and lvl should be in the same compound tag:
/give @p iron_pickaxe 1 0 {ench:[{id:33,lvl:1}]}
Pictures about "/give with ench NBT tag doesn't work 1.8"



How do I send an item to NBT tag?
NBT tags are used to specify information for items and entities created with the " /give ", " /summon ", " /tellraw " (for the JSON message), " /fill ", " /blockdata {Until1.13}", " /setblock ", and " /clear " commands. Each Tag has the format <tagname>:<value> . Tag names are case-sensitive.How do I enable NBT?
Defending against LLMNR/NBT-NS attacksHow do you summon NBT tags?
NBT tags are used in game commands such as: /summon, /data, /give, /fill, /setblock. The NBT tag is always surrounded in {} such as {NoAI:1}. If there is more than one NBT tag used in a command, the NBT tags are separated by a comma such as {NoAI:1, IsBaby:1}. Each entity (or mob) has its own unique set of NBT tags.How do you enchant items with give?
First, you need to program the command block to give an enchanted diamond sword with the /give command. This /give command will be run each time the command block is activated. So, stand in front of the command block with your pointer (the plus sign) on the command block and click on the right mouse button.Minecraft TAG Command Tutorial [Working 1.19]
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Sora Shimazaki, Max Fischer, Brett Jordan, Gary Barnes
