so i have enchanted item and item, that after merging in crafting grid take enchantments from item and destroy item, creating book with enchantments on that book
i want to disable this mechanic with specific item, but i cant figure out how i can access the item list, that was used to craft this item
ItemEvents.crafted('minecraft:enchanted_book', event => {
//if(event) get list of used for craft items? if any of them is "minecraft:iron_leggins"
event.cancel()
})