Started by
Plantt
on
Topic category: Help with Minecraft 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?
Alright, so I was messing around with enchantments in minecraft when modded with MCreator, and I was able to enchant axes with Luck of the Sea, the only way that I have found to restrict enchantments is with mutually exclusive enchantments, such as Infinity and Mending. This is certainly a bug, and I am about to test whether it is a bug with MCreator specifically or Forge in general.
Turns out that, in Vanilla Minecraft, you can apply any enchantment to any item while in creative mode, this has turned out to be not a bug.