Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here

You must login to add post.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Passionable Logo Passionable Logo
Sign InSign Up

Passionable

Passionable Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • New Questions
  • Trending Questions
  • Must read Questions
  • Hot Questions
Home/ Questions/Q 702
In Process
Alek Richter
  • 0
Alek RichterEnlightened
Asked: October 28, 20212021-10-28T06:46:45+00:00 2021-10-28T06:46:45+00:00

How do I give players already enchanted Tools/Armour/Weapons

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
    • Report
  • Share
    Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Alek Richter Enlightened
    2021-10-28T06:47:16+00:00Added an answer on October 28, 2021 at 6:47 am

    This answer is for 1.12 or before. Refer to this answer by pppery for 1.13 and later.

    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:,lvl:},{id:,lvl:},…]}

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
Leave an answer

Leave an answer
Cancel reply

Browse

Sidebar

Ask A Question

Stats

  • Questions 4k
  • Answers 4k
  • Best Answers 0
  • Users 200
  • Popular
  • Answers
  • Alek Richter

    Is the Glamour College Bard's Mantle of Inspiration Overpowered?

    • 2 Answers
  • Alek Richter

    How to deal with SettingWithCopyWarning in Pandas

    • 2 Answers
  • Alek Richter

    At what point is the Tavern Brawler feat better than ...

    • 2 Answers
  • Alek Richter
    Alek Richter added an answer Pandas DataFrame columns are Pandas Series when you pull them… January 13, 2022 at 2:21 pm
  • Alek Richter
    Alek Richter added an answer The handshake failure could have occurred due to various reasons:… January 13, 2022 at 2:19 pm
  • Alek Richter
    Alek Richter added an answer Mac OS X doesn't have apt-get. There is a package… January 13, 2022 at 2:18 pm

Top Members

Alek Richter

Alek Richter

  • 4k Questions
  • 1k Points
Enlightened
fayemolloy0

fayemolloy0

  • 0 Questions
  • 20 Points
Begginer
NikolaZex

NikolaZex

  • 0 Questions
  • 20 Points
Begginer

Trending Tags

questin question

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • New Questions
  • Trending Questions
  • Must read Questions
  • Hot Questions

© 2021 Passionable. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.