How do I give players already enchanted Tools/Armour/Weapons
I'm making a map where I want players to be able to choose there kits/classes. The problem I'm having with it though is giving players already enchanted Tools/Armour/Weapons.
I'm not sure if you can use the /give [player] [item] [amount] because you'll have to use the whole {} thing and I'm not sure how to make enchanted Tools/Armour/Weapons using that.
Can anyone help?
Best Answer
The syntax for enchanted items has changed a bit in 1.13, meaning the accepted answer no longer works.
- The
enchtag has been renamed toEnchantments - The
idfield of an enchantment is now a string, rather than an integer.
Thus, to give a player a diamond sword with Smite 2 and Knockback 30, one would now use:
/give @p diamond_sword{Enchantments:[{id:"minecraft:smite",lvl:2s},{id:"minecraft:knockback",lvl:30s}]}
Pictures about "How do I give players already enchanted Tools/Armour/Weapons"



How do you give already enchanted items?
The standard syntax in Minecraft to create a 1000+ Sharpness weapon is "/give @p <item>{Enchantments:[{id:sharpness,lvl:<number>}]}" placed in the game's chat window. This command can also be applied to other items that can receive a Sharpness enchantment, such as an axe.How do you give enchantments to weapons?
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.How do you give someone the enchanted sword?
You cannot transfer an enchantment from a tool onto a book in vanilla survival without cheats. You can however combine two books (or any two items of the same type) and merge the enchantments with an anvil.How to get already Enchanted Items with Command Blocks | MC Bedrock tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: RODNAE Productions, Anna Shvets, Anna Shvets, cottonbro
