Enchanting table support for custom ranged items, normal items and more

Published by MMG on Mon, 08/17/2020 - 15:13
Status
Duplicate
Product/platform
Not applicable
Priority
Normal
Issue description

So. Hi. It's me. Again XD (kinda hard to make unique introduction to every new issue, I don't even know why am I doing this)

 

So. Kinda weird I never saw this suggestion and it's a pretty basic thing. Basically

 

I just made some enchants for my ranged item and discovered I cannot enchant it in enchant table.

So my idea is that all kinds of items. (item element, ranged tool element, tool element, maybe more) Would have a checkbox with name "can be enchanted". If you select this and then make enchantment and add it to list of "Can be applied to" this enchant could be added to that item. I think you got the idea by this point.

Issue comments

Unfortunately, MC check by the Item class for weapons, in ranged item case, for ItemBow which custom ranged items are not.

There is already a ticket for this (a few I believe), I will reopen that ticket if this will change.

APIs change so it might be possible back then. 

You could change this with coremod or mixing likely, but currently there is no direct hook to change this in the API



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.