Enchantment tags not working [duplicate]
I'm trying to do this command:
/give @p Minecraft:diamond_pickaxe 1 0 {[id:34,lvl:30000]},{[id:32,lvl:30000]},{[id:70,lvl:30000]},{[id:35,lvl:30000]},{[id:16,lvl:500]}
But it says data tag parsing failed: encountered multiple top tags. What am I doing wrong?
Best Answer
Currently each of your compound tags - {} - is a separate top tag, when you should only have one. Let's put all of your current compound tags into a single compound tag so that there's only one top tag:
/give @p diamond_pickaxe 1 0 {{[id:34,lvl:30000]},{[id:32,lvl:30000]},{[id:70,lvl:30000]},{[id:35,lvl:30000]},{[id:16,lvl:500]}}
This command isn't fixed yet though. Each enchantment compound tag should be inside a list - [] - called ench:
/give @p diamond_pickaxe 1 0 {ench:[{[id:34,lvl:30000]},{[id:32,lvl:30000]},{[id:70,lvl:30000]},{[id:35,lvl:30000]},{[id:16,lvl:500]}]}
Finally, each enchantment compound tag (e.g: {[id:34,lvl:30000]}) should contain id and lvl directly, rather than contain a list containing id and lvl. This is the fixed command:
/give @p diamond_pickaxe 1 0 {ench:[{id:34,lvl:30000},{id:32,lvl:30000},{id:70,lvl:30000},{id:35,lvl:30000},{id:16,lvl:500}]}
You'll also probably crash your game if you mine something like lapis with this pick, so you should probably decrease the lvl to 10 or so for fortune.
I'd recommend using a generator, or reading a guide on data tags.
Pictures about "Enchantment tags not working [duplicate]"
![Enchantment tags not working [duplicate] - Person Holding Brown Wooden Rolling Pin Enchantment tags not working [duplicate] - Person Holding Brown Wooden Rolling Pin](/assets/images/enchantment_tags_not_working_duplicate_1.jpeg)
![Enchantment tags not working [duplicate] - Assorted-color Pants Lot Enchantment tags not working [duplicate] - Assorted-color Pants Lot](/assets/images/enchantment_tags_not_working_duplicate_2.jpeg)
![Enchantment tags not working [duplicate] - Person in White Gloves Writing on Plant Tags Enchantment tags not working [duplicate] - Person in White Gloves Writing on Plant Tags](/assets/images/enchantment_tags_not_working_duplicate_3.jpeg)
Can you duplicate enchanted items in Minecraft?
Players can reset the available enchantments to have a chance at getting better ones. The cheapest way to reset enchantments is by enchanting any wooden tool/book with the first enchantment. Players can repeat this trick until they get a better enchantment.How do you bypass enchant limits?
Any tool can only be enchanted once. If the tool has been previously enchanted, or you have used an enchanted book on it in the anvil, then it can not be re-enchanted regardless of how much experience you have.How to Fix Duplicate Title Tags
More answers regarding enchantment tags not working [duplicate]
Answer 2
You need to put the enchantments in an ench tag. Here's the command for that:
/give @p minecraft:diamond_pickaxe 1 0 {ench:[{id:34,lvl:30000},{id:32,lvl:30000},{id:70,lvl:30000},{id:35,lvl:30000},{id:16,lvl:500}]}
Also, I believe that using such high enchantment levels will lag the game. You may want to consider lowering them (for me, the most I can have is level 200).
Hope this helps!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Huỳnh Đạt, Kampus Production, Henry & Co., Thirdman
