Enchantable Horse Armor Forge
This is the Forge version of Enchantable Horse Armor. If you need the Fabric version, follow the appropriate link.
This modification allows horse armor to be enchanted at the enchanting table. Implementation of this feature includes several key changes:
Increasing the enchantability parameter from 0 to 1, making the armor available for enchanting.
Overriding the isEnchantable method to return true.
Modifying EnchantmentHelper to check for enchantments in the horse armor slot.
Updating the horse armor display layer to show enchantment glow when necessary.
Changing enchantment types ARMOR, ARMOR_FEET, ARMOR_LEGS, ARMOR_CHEST, and ARMOR_HEAD to support horse armor.
Additional information:
The mod does not use registry overwrites, ensuring compatibility with most other modifications.
Requires mixinbootstrap, but this dependency may be eliminated in the near future.