Topic category: Help with modding (Java Edition)
I was attempting to make an enchantment that could only be applied to three specific items (we'll call them trumpets, because that's what they are). However, when checking what items the enchanted book would combine with, it could be combined with other items, including items that are not usually enchantable, like blocks. I tested the enchanting tutorial found here, porting it into 1.18.2. Where I found the same issue. Is this a bug or am I just doing something dumb on my end?