theishiopian / Parrying

A mod about deflecting blows (and inflicting your own)
6 stars 5 forks source link

Parrying weapons cannot receive other enchantments #17

Closed k1r0s closed 2 years ago

k1r0s commented 2 years ago

I guess this is not intended

theishiopian commented 2 years ago

Minecraft is very picky about what can and cannot have specific enchantments. I can of course work around this, but it has to be done specifically for each enchantment (for example smite on bludgeoning). Ideas on what items should be able to receive what enchants from vanilla are appreciated.

k1r0s commented 2 years ago

https://forums.minecraftforge.net/topic/96851-1164-custom-item-enchantability/

k1r0s commented 2 years ago

https://github.com/BobMowzie/MowziesMobs/blob/master/src/main/java/com/bobmowzie/mowziesmobs/server/item/ItemNagaFangDagger.java#L28

k1r0s commented 2 years ago

2021-11-26_01 20 52

theishiopian commented 2 years ago

Fixed in 1.18, thanks @k1r0s for the help.