Custom Enchantments

Submitted by Goldorion on Sun, 08/12/2018 - 13:36
Upvotes: 21
Issue description

I know that the 1.8.0 MCreator suggestions are closed, but I just want what I'm going to offer either in MCreator version 1.8.0 or in the next version, 1.8.1.

 

Hello,

 

I'd like to see the possibility of creating new enchantments that do not exist, because I want to make a mod with new enchantments, but I can just add books with enchantments that already exist as Protection, Sharpness, etc.

I would like to have the opportunity to choose its rarity, either common, unusual, rare or really rare. There is also the possibility of choosing the minimum and maximum level that the player must have to be able to obtain the enchantment, as well as all that is necessary in order to have an enchantment, like a procedure so that the enchantment can do what we want.

 

I will try to draw you a picture, so that I can really show you what I mean, and make my explanations much clearer and more precise.

 

 

I hope I can see one day this feature that I think is missing a lot MCreator.

 

Goldorion

Issue comments

Submitted by Klemen on Sun, 08/12/2018 - 14:52

We have discussed this a few times on the website and came to the conclusion that such a feature is too complicated to be implemented at the moment. If you have a clear idea of the workflow on how enhancement would be made and code or at least references to back up the doability of such thing, we might consider implementing this in later versions.

Submitted by zxin on Mon, 08/13/2018 - 00:05

Well, the base enchantment could me made like anything else -- you enter in its name, weight, max level, whether or not it's single level, only for books, only treasure, what items it can be used on, etc. -- and then you can define event procedures for it depending on which items it can be used on. (Ex. “On mob wearing armour with enchantment attacked” or “On mob atracked using item”) And the enchantment level would be a dependency in the procedures, thus allowing people to customise depending on levels.

If you wanted to go beyond that, you could add ways to change the stats of the items they're applied to. I.e. Efficiency, damage level, attack speed, potion effects when held, etc. And also a way to add custom items to the list of enchantable items.

As Goldorion is asking me to put this ticket in upvote requests on Discord, I can put it if the ticket  isn't closed and also "won't fix"

If you would be able to add it, so you can please open the ticket? Thanks :)