How do I give players already enchanted Tools - Armour - Weapons

[BACK]
How do I give players already enchanted Tools - Armour - Weapons
Posted On: April 26, 2024

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?


Question from user FireStrike289 at gaming.stackexchange.com.


Answer:

This answer is for 1.12 or before. Refer to this answer by pppery for 1.13 to 1.20.


You can set up some simple commands with command blocks, and let players click the button of each command block so that they receive the enchanted items.


You can use the following command to give players enchanted items (in this example, 1 diamond sword with Smite 2 and Knockback 30).


/give @p diamond_sword 1 0 {ench:[{id:17,lvl:2},{id:19,lvl:30}]}.


This is the general command:.


/give @p 0 {ench:[{id:<0-62>,lvl:<1-32767>},{id:<0-62>,lvl:<1-32767>},.]}.


You put all enchantment tags between [ ], each with both id and lvl tags wrapped together by curly braces { }.


You can also add in the clear inventory command to ensure they don't get kits twice.


/clear @p.


Remember the highest level for the enchantment is level 32767.


You can stack enchants as many times as you want such as:.


/give @p diamond_sword 1 0 {ench:[{id:17,lvl:32767},{id:17,lvl:32767}]}.


After setting up the command blocks, put buttons and the players can choose by clicking them.


You can also put enchantments onto things that normally cannot be enchanted or have that specific enchantment. For example, you can do the command stated above to give you enchanted blocks. But, enchantments will NOT affect how the thing works normally. For example, enchanting Thorns on a dirt block will not hurt players when they come into contact with the enchanted block.


Answer from user 54D at gaming.stackexchange.com.


[BACK]
How do I give players already enchanted Tools - Armour - Weapons
Posted On: April 26, 2024

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?


Question from user FireStrike289 at gaming.stackexchange.com.


Answer:

This answer is for 1.12 or before. Refer to this answer by pppery for 1.13 to 1.20.


You can set up some simple commands with command blocks, and let players click the button of each command block so that they receive the enchanted items.


You can use the following command to give players enchanted items (in this example, 1 diamond sword with Smite 2 and Knockback 30).


/give @p diamond_sword 1 0 {ench:[{id:17,lvl:2},{id:19,lvl:30}]}.


This is the general command:.


/give @p 0 {ench:[{id:<0-62>,lvl:<1-32767>},{id:<0-62>,lvl:<1-32767>},.]}.


You put all enchantment tags between [ ], each with both id and lvl tags wrapped together by curly braces { }.


You can also add in the clear inventory command to ensure they don't get kits twice.


/clear @p.


Remember the highest level for the enchantment is level 32767.


You can stack enchants as many times as you want such as:.


/give @p diamond_sword 1 0 {ench:[{id:17,lvl:32767},{id:17,lvl:32767}]}.


After setting up the command blocks, put buttons and the players can choose by clicking them.


You can also put enchantments onto things that normally cannot be enchanted or have that specific enchantment. For example, you can do the command stated above to give you enchanted blocks. But, enchantments will NOT affect how the thing works normally. For example, enchanting Thorns on a dirt block will not hurt players when they come into contact with the enchanted block.


Answer from user 54D at gaming.stackexchange.com.


[BACK]

Where can I contact roblox support (a real person)? Where can I contact roblox support (a real person)?

Posted On: September 19, 2023
Can someone tell me how to contact Roblox support? I don't mean roblox/support, that's just a bot. I want to talk to a real human who works in Roblox support. Question from user comand100vi...[More]


What is the meaning of the small pink face symbol on the Pokemon summary screen? What is the meaning of the small pink face symbol on the Pokemon summary screen?

Posted On: April 9, 2024
There is a small pink face right beside the sparkle that indicates Shiny. What is the meaning of that face?It's at the left side of the "marks" that you can put. You can see them in summary window or ...[More]


What happens to my boarding party if the enemy ship surrenders? What happens to my boarding party if the enemy ship surrenders?

Posted On: March 15, 2024
In Faster than Light, if I still have crew members on the enemy ship when they surrender: What happens to my boarding crew members if I accept the offer from the enemy ship?Question from user stack_ho...[More]


Me (tiefling warlock) and my friend (dragonborn druid) Me (tiefling warlock) and my friend (dragonborn druid)

Posted On: February 28, 2026
Question from user Vinicius_Pimenta at BaldursGate3 at reddit.com.Answer:I really thought this was r - okbuddybaldur but sometimes the main sub surprises me!.Answer from user InsectHuman8453 at Baldur...[More]


How to join Minecraft servers? How to join Minecraft servers?

Posted On: August 24, 2023
My son wants to join a server on Minecraft (Wii U Edition), but we don't know how. How can he join a server? Question from user Tomás at stackexchange. Answer: You can only join...[More]


Is there a minimum amount of Zen that I should offer to buy on the dilithium exchange? Is there a minimum amount of Zen that I should offer to buy on the dilithium exchange?

Posted On: January 20, 2023
I offered to buy ~20 Zen for 500 dilithium per zen on the exchange, but it hasn't been picked up yet. Is that because the exchange is now "broken" and exchanges take forever, or is it be...[More]


Is it just me or is there something wrong with Professor Garlick? Is it just me or is there something wrong with Professor Garlick?

Posted On: September 5, 2023
Is it just me or is there something wrong with Professor Garlick? Was it really just accidents her former herbalism teacher suffered, or did Garlick have something to do with it? I mean, she fel...[More]


Raphael totally looks like... Raphael totally looks like...

Posted On: May 1, 2025
So I was explaining some political topics to my kids and got on the subject of Gavin Newsom. I brought up a pic as a visual aid and. Hmm.Am I crazy?Question from user LikeTheCounty at BaldursGate3 at ...[More]


Can't find the last conjuration in Hogwarts Legacy??? Can't find the last conjuration in Hogwarts Legacy???

Posted On: April 18, 2023
So I have been spending hours and hour to get the platinum achievement on PS5. Now I only miss the last achievement (Collectors edition).I have checked all the butterflie locations, all caves and e...[More]


How do I light (and clear) a torch in The Witcher 3? How do I light (and clear) a torch in The Witcher 3?

Posted On: August 13, 2023
I'm sure that I have some torches in my inventory. But how can I light a torch? What exactly do I have to do? And how long does a torch "burn"? Question from user PeterCo at sta...[More]