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]

Is it still possible to start and finish a quest from Chapter 1 after starting Chapter 2? Is it still possible to start and finish a quest from Chapter 1 after starting Chapter 2?

Posted On: July 27, 2023
Baldur's Gate: Enhanced Edition is divided by chapter. When I start Chapter 2, will I still be able to activate quests from Chapter 1? In my journal, all previous chapter quests disappeared after ...[More]


How do you role play anything but nice characters? How do you role play anything but nice characters?

Posted On: October 27, 2023
I'm someone who feels bad in any video game if I am mean to some NPC. I'm also someone who tries to get everything in a single playthrough and try to pick the right dialogue option for that, r...[More]


How can I see the version of steam deck? How can I see the version of steam deck?

Posted On: May 18, 2023
I was thinking about buying a Steam Deck and to save a couple of bucks, figured I'd try to buy one used. Before I hand over the cash, I'd like to verify the one I'm buying is as advertised...[More]


I can't be the only one... I can't be the only one...

Posted On: October 10, 2024
Question from user TrickstersKeep at BaldursGate3 at reddit.com.Answer:What do you mean? I guided the Nautiloid to a safe landing. There was no Crash just a rough landing.Answer from user HangDol at B...[More]


How do Dragoon and Daybreak pieces work in Team Battles? How do Dragoon and Daybreak pieces work in Team Battles?

Posted On: December 3, 2023
In normal matches, the Dragoon and Daybreak items in Smash Ultimate require a player to collect all three pieces before they can be used. How do these items work in team battles? If player A picks up ...[More]


How do you make Cuphead black and white? How do you make Cuphead black and white?

Posted On: March 13, 2024
I've seen screenshots of it, and a character on the third isle says something about you have to be a pacifist or something. How is it done?Question from user Levi C. Olson at gaming.stackexchange.com....[More]


Newbie, beginner dummie to BG3, guidance greatly appreciated Newbie, beginner dummie to BG3, guidance greatly appreciated

Posted On: October 20, 2023
I'm playing on PS5. I've played the Bethesda RPG's a lot, but this feels like another magnitude of complexity. I'm just getting started, managed to escape the ship and doing a little e...[More]


How to enhance match objectives in Fifa 23 career matches How to enhance match objectives in Fifa 23 career matches

Posted On: April 30, 2023
I play Fifa 23 on a PC with an Xbox controller and intend to achieve the enhanced objectives when a career match begins. I can see the objectives screen and it says I should press L + Hold L. Ho...[More]


How can I set up a proper turn-based ambush in BG3? How can I set up a proper turn-based ambush in BG3?

Posted On: March 3, 2024
When my party encounters a group of unaware enemies, I want to sneak up.on the enemies, get everyone into position, then attack together. How.do I do that?My naive approach so far is:.Before initiati...[More]


I wish we couldn't accidentally hurt Hogwarts Legacy beasts I wish we couldn't accidentally hurt Hogwarts Legacy beasts

Posted On: March 7, 2023
I don't think you should be able to use any spells other than yellow on these creatures. . Yeah, sure their mythical and such but I did not like when I accidentally "decendoed" Highwi...[More]