[Feature] Conflicting enchants in survival + update to them
Documentation of a suggestion I made in the discord:
Conflicting enchanting in the enchanter is already implemented but it's not survival obtainable, and for good reason: some mods expect their conflict rules to be expected and cause odd behavior if they aren't respected.
So, add an extra data driven way to define "conflict compatible" enchantments. By default, enchantments aren't conflict compatible, so mods are default always correct. But, you can always add a json file in a datapack to make two enchants compatible.
The enchanter will now let you enchant "conflict compatible" enchants when you have unlocked conflicted enchanting, but it won't let you enchant any "conflict incompatible" enchants.
Example of vanilla/spectrum "conflict compatible" enchants: Protection, Blast Protection, Fire Protection, Projectile Protection Sharpness, Smite, Bane of Arthropods Infinity, Mending Indestructible with efficiency, infinity, protection, curse of binding (?)
Example of vanilla/spectrum "conflict incompatible" enchants: Fortune with Silk touch Depth Strider with Frost Walker Riptide with Channelling, Loyalty Indestructible with Mending, Unbreaking