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]

If I can only buy games as gifts on Steam and not as keys, where do 3rd party resellers get theirs? If I can only buy games as gifts on Steam and not as keys, where do 3rd party resellers get theirs?

Posted On: October 16, 2023
3rd party game key resellers like Kinguin or G2A sell game keys right? Supposedly the key sellers are just other users. I as a user as well cannot seem to buy keys from Steam though? I can only buy th...[More]


Hogwarts Legacy Beginner Tips Hogwarts Legacy Beginner Tips

Posted On: April 21, 2023
Hey! Orderd a ps5 yesterday with hogwarts legacy and it will arrive today. Are there any important things i should know about the game? (Without spoilers). And is the game long? Are the most glitch...[More]


Hogwarts Legacy: whats this symbol next to my little dude mean? Hogwarts Legacy: whats this symbol next to my little dude mean?

Posted On: March 10, 2023
Question from user Ocasiohgodno at HogwartsLegacyGaming at reddit.com. Answer: It means it has a rare coloration. I don’t know the official term, but people have taken to calling them &ldq...[More]


How to solve the electric box riddle in Ace Ventura Game? How to solve the electric box riddle in Ace Ventura Game?

Posted On: February 14, 2023
In the game AceVentura there is an electric box. One has to press green/red + hand gear and red/blue + hand gear (see minute 55:14):. How are you supposed to know as a player that you have to hi...[More]


Cant restore my Wii: BootMii Wont Work Cant restore my Wii: BootMii Wont Work

Posted On: March 24, 2023
I am trying to restore or un-modify my Wii. When I try to start BootMii from the Home Brew Channel, I get only a black screen. Can somebody please help me? I don't know how the heck I would hav...[More]


Is it still possible to see where mobs can spawn by pressing F7 in Minecraft? Is it still possible to see where mobs can spawn by pressing F7 in Minecraft?

Posted On: June 27, 2023
In my Minecraft world, I am trying to figure out where mobs can't spawn (mainly to make my nearby village safe, as I plan to trade with them), but I my personal computer's browser isn't wo...[More]


What games come with the Nintendo Switch Online Membership? What games come with the Nintendo Switch Online Membership?

Posted On: August 5, 2023
I'm considering purchasing a Nintendo Switch Online Membership, and my primary motivation to do this is the classic game collections. Therefore, I would like to know what games in the Mario, Zelda...[More]


What do the numbers next to the achievements mean in Overwatch? What do the numbers next to the achievements mean in Overwatch?

Posted On: May 18, 2023
Next to each achievement in Overwatch there's a little number in a circle, what does that mean? Question from user Wrigglenite at gaming.stackexchange.com. Answer: The number signifies th...[More]


Hogwarts Legacy, Let's Go Boys Hogwarts Legacy, Let's Go Boys

Posted On: June 7, 2023
Question from user Critical_Mistake_315 at HogwartsLegacyGaming at reddit.com. Answer: This quest string was surprisingly dark and twisted. Also as others have said, dont give the wrong answers....[More]


Infuriating plot point Infuriating plot point

Posted On: October 2, 2023
Is anyone else infuriated by the way the tadpoles are handled? We're told from the outset that these things are bad, like as bad as you can get. Literally no reason you would want them at all, but...[More]