Hi,
I am currently trying to add enchantment support for an item that does not inherit ItemSword nor has the classical damage values, etc., so I am doing it manually. For reference, I would like to see where in the vanilla minecraft's (decompiled) code I can read about how it does handles enchantments for swords (the classes that work on applying the effects of enchantments) and where it handles critical damage, sweep attacks, etc. I can't seem to find them in ItemSword nor in Item. Therefore I assume that there are other classes that make vanilla swords functional. Can you please point me to them?
Thanks,
Productive