Jump to content

Recommended Posts

Posted

if i want to give "smite X" onCreated is it bad?

WIP mods: easyautomation, easyenergy, easyelectronics, easymoney, easytrasportation, easysecurity, easymultiverse, easyfactions, easymagick, easyalchemy, easyseasons

Posted

sorry, I'll explain better. what is the worst that can happen if I override Item.onCreated and add an enchantment with a level above that allowed by the enchanting table (for instance, smite 10).

WIP mods: easyautomation, easyenergy, easyelectronics, easymoney, easytrasportation, easysecurity, easymultiverse, easyfactions, easymagick, easyalchemy, easyseasons

Posted

I am not sure.

There are two things that should be possible.

1. It is really strong (which I think is the thing that should happen)

2. It wont enchant level 10 but sth lower, like 5 bc  is highest smite

Posted

but I know it works, I can give whatever enchantment level I want to an item if I do it in code. the thing is, those are called "unsafe" enchantments. and I wanted to know if they are really unsafe. for example, can they corrupt the saved state of an entity/tileentity? if something is known as unsafe, I expect there is some risk involved. I wanted to know if those risks are acceptable or not. corrupting data, causing crashes or any sort of unstability is not acceptable. being too powerful to the point of hit-killing a fully diamond-armored player is.

WIP mods: easyautomation, easyenergy, easyelectronics, easymoney, easytrasportation, easysecurity, easymultiverse, easyfactions, easymagick, easyalchemy, easyseasons

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.