The Mod
This mod's idea is simple: it will alert you whenever your armour is about to break. It works by checking every tick if the ratio between the current durability of your armour and the max durability of your armour is less than a user-defined percent value.
It also plays a fun little sound every time this alert is triggered.
You do not need any other mods to run this one, it is completely independent of any other libraries.
How can I change the settings of the mod?
You can do this by typing /armornotifications
in chat and hitting enter. This will bring you to the configuration screen, where you can change the settings you want and hit "done" when you're, well, done.
Credits
A huge thanks goes out to Jan for helping me with the custom config screen, whose discord server can be found here. Also thanks to lwes_ (discord handle: lwes_) for helping me with the icon for the mod.