Article Categories
- Baldur's Gate 3
- Diablo
- Elder Scrolls
- General
- Hogwarts Legacy
- League of Legends
- Minecraft
- Pokemon Go
- Sims 4
- StarCraft
- Steam Platform
- Xbox Game Console
More Articles
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?
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
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.
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
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.
What happens if you break the Old Barbarian Statue in Clash of Clans?
Why do you think the Dark Urge kills?
Please help me with Hogwarts Legacy
Was enjoying Hogwarts but had to get refund due to crashing
Is there a way to tell a Steam shortcut to open in big picture mode?
BG3 is very fun, but exhausting to play.
Black Screen when alt-tab or exiting fullscreen games in Windows 10
In Guild Wars 2, Is the area between Kessex Hills, Gendarran Fields and Lions Arch reachable?




