Started by
CatsAtWar
on
Topic category: Help with Minecraft modding (Java Edition)
I am creating a mod that adds 30 enchantments to the game. I want to make some of them sword-exclusive, but there is only "Weapon" in the drop-down list. This allows the enchantments on axes, bows, crossbows, and other weapons. How can I make it impossible to enchant other tools with these enchantments?
Add minecraft:swords tag to the "Can be applied to" section while "include" is selected.