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]

Does anyone know how to get up these stairs in the Gryffindor common room? I’ve completed the entire story. Thanks! Does anyone know how to get up these stairs in the Gryffindor common room? I’ve completed the entire story. Thanks!

Posted On: March 22, 2023
Does anyone know how to get up these stairs in the Gryffindor common room? I’ve completed the entire story. Question from user ash_5512 at HogwartsLegacyGaming at reddit.com. Answer: Th...[More]


Best strategy to catch Snorlax on Pokemon Fire Red? Best strategy to catch Snorlax on Pokemon Fire Red?

Posted On: August 27, 2023
I have played Pokémon for many years but have always struggled catching Snorlax without cheats. What are the best strategies to approach catching both of them in Pokémon Fire Red? ...[More]


Why would I change my realm layout in Genshin Impact? Why would I change my realm layout in Genshin Impact?

Posted On: October 15, 2023
I recently unlocked the Silken Courtyard realm layout. However I cannot see why I would change to a new layout. None of my furnishings go with me, so I would have to rebuild everything. I tried bef...[More]


Anyone else find slapping the daedalion keys nearly impossible? Anyone else find slapping the daedalion keys nearly impossible?

Posted On: September 8, 2023
Do I have the worst reaction time in the world or is timing the slaps on these damn keys nearly impossible. I've been stuck on this one key for over 20 min just trying to slap it but it's so d...[More]


Did anyone else hate Lae'zel as much as I did? Did anyone else hate Lae'zel as much as I did?

Posted On: November 19, 2023
I mean come on, she literally was just an asshole from the moment you meet her. She constantly talks down to literally everyone, acts like she is god's gift to the world, and talks like everyone a...[More]


Wands and Brooms Wands and Brooms

Posted On: June 16, 2023
I feel like it would make the game more interesting if choosing your wand had a bigger impact on your abilities. Right now it’s pretty much just a cosmetic choice. Same thing goes for brooms I w...[More]


Is a horse actually faster than running? Is a horse actually faster than running?

Posted On: May 30, 2018
I'm pretty disappointed with my horse. He wasn't cheap -- 1000g -- but he just doesn't seem that fast. To make things worse, he's a bit of a wolf magnet and every time I get attacked I...[More]


Who do you think your character would be after graduating Hogwarts? Who do you think your character would be after graduating Hogwarts?

Posted On: August 4, 2023
Mine would be either DADA teacher or an Auror. I know that there are limited options and probably your answers will be similar, but I'm curious what future would you see for your MC. Question f...[More]


What are the equivalent PC keyboard keys and mouse buttons of the Xbox 360 game controller buttons shown on the screen? What are the equivalent PC keyboard keys and mouse buttons of the Xbox 360 game controller buttons shown on the screen?

Posted On: January 23, 2023
The PC port of Dark Souls shows Xbox 360 game controller buttons on its in-game messages and the UI. However, I'm playing with a mouse and a keyboard. This makes learning the controls a bit awkwar...[More]


Couldn't play at release,, I can finally commit. Pick my MC! Couldn't play at release,, I can finally commit. Pick my MC!

Posted On: January 9, 2026
Nothing too wild or difficult, I haven't played a crpg in a while. But I did play old school AD&D way back. What should I roll for my first proper playthrough?Question from user Killroyjones at Baldur...[More]