I have made a custom enchantment plugins, and I want my enchantments to work in an anvil. This includes combining books (IE Drain I + Drain I = Drain II) and booking books to weapons (IE Diamond Sword + Drain I = Diamond Sword with Drain I). I have been trying to achieve this with InventoryClickEvents, to no luck. Is there a way I can get the server to treat my enchantments how it would treat vanilla enchantments? If not, how do I use InventoryClickEvents to create custom anvil crafting recipes?