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]

What happens if you transfer a fully EV trained LVL 100 Pokémon from Gen 2 to Pokémon Home? What happens if you transfer a fully EV trained LVL 100 Pokémon from Gen 2 to Pokémon Home?

Posted On: February 16, 2023
Basically, on modern gen Pokémon games, you can only EV train and max up to 2 EV stat at most (255-255 or 252-252-4). But in Pokémon Crystal Gen 2, you could EV train and max all EV stat...[More]


How can I record gameplay on a Mac? How can I record gameplay on a Mac?

Posted On: August 19, 2023
I can find plenty of information on recording programs for Windows, but information for OS X is much harder to find. What are the requirements and steps for recording gameplay on a Mac? Question fr...[More]


Can you import included and DLC tracks from Just Dance 2 into Just Dance 3? Can you import included and DLC tracks from Just Dance 2 into Just Dance 3?

Posted On: June 24, 2023
My wife has been enjoying Just Dance 2 on the Wii since I gave it to her last Christmas and has actually bought a number of additional tracks — enough that I had to buy her a big SD card just fo...[More]


How can you resist him? How can you resist him?

Posted On: October 23, 2025
Question from user Fun-Explanation7233 at BaldursGate3 at reddit.com.Answer:I havent done much with him, but when he drinks your blood I couldnt get him to stop so I died.But I loveed his reaction whe...[More]


How do I get Marios hat back after pressing the Yellow Switch? How do I get Marios hat back after pressing the Yellow Switch?

Posted On: September 12, 2023
In the "abandoned" version 0.9 of B3313 (a ROM hack of Super Mario 64), I activated the Yellow Switch which caused Mario to lose his hat. Just like the original version of Super Mario 64, Ma...[More]


The only thing that can revive this game is DLC The only thing that can revive this game is DLC

Posted On: September 2, 2023
There is literally no point in playing after you finish the house cup, I understand that they will probably wait to add DLC until the game is out on switch but it’s been almost 7 months since th...[More]


Going to play Hogwarts Legacy for the first time! Going to play Hogwarts Legacy for the first time!

Posted On: June 22, 2023
I've had the game since it came out, but have been unable to play it because it was Summer, and my xbox would overheat and crash within 45 seconds of the launching the game.(this happened with oth...[More]


Do baby creatures grow in Hogwarts Legacy? Do baby creatures grow in Hogwarts Legacy?

Posted On: June 20, 2023
I have been playing for some time now (72 hrs.) and I have not seen any of the baby creatures grow at all. Question from user Maxwell-Fate at HogwartsLegacyGaming at reddit. Answer: No, unfor...[More]


I keep having to reload and it’s getting annoying I keep having to reload and it’s getting annoying

Posted On: October 28, 2023
I keep forgetting to do things before entering nightsongs prison and having to reload. I thought I had got it, finally, but I looked up a checklist and I just straight up never found the one who was g...[More]


Playing for the first time. What should I know? Playing for the first time. What should I know?

Posted On: April 2, 2026
I made my own character up. Didn’t pick any of the specific characters if that makes sense. I don’t understand the game at all except that it’s a dungeon and dragon type game. And that you can ...[More]