Jump to content

How do I make it that if an Item gets enchanted it gains a bonus level in a certain enchant?


Recommended Posts

Posted

Could you give some code to see what you have done?

To do that, first you need to find where the item receive enchantments.
Then in that instance you add a if statment to do that.

Other way is to copy enchants that the item will receive, and, then check if that some enchant have certain enchant, and remove it from the item, and re enchant to add in the level you want.

Posted

I did not keep what I tried since I dont even know if trying to use the  Enchantmentlevelsetevent  is even a way to do what I wanna do

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.