A resource pack for 1.21.5+ that changes the sprite of your mace based on its enchantments. Doesn't require optifine or other mods.
The file
Not tested in every version yet, but works in 1.21.5 & 1.21.6