[Fabric] Stacked Armour & Toughness Bars

Description:
This modification is a fork of RebelKeithy's "Extended Armor Bars" mod, which expands the armor display capabilities in the game interface. The main innovations include the ability to display armor above 20 units (with additional colored layers) and adding a special armor toughness bar to the game interface.
Key differences in this version:
-
The armor toughness bar has been moved to the left side of the hotbar. This modification was originally created so that the toughness bar wouldn't overlap resources in the Origins mod, but it may also be useful for other modifications that require free space above the hunger bar.
-
The mod is available for all Minecraft versions starting from 1.17 and above.
For those unfamiliar with the armor toughness mechanic: this characteristic works as an additional damage reduction calculation applied to certain types of armor when worn. Currently, toughness is only provided by diamond and netherite armor.
It's important to note that armor toughness is a base game mechanic, and this mod does not change or rework it in any way. It only adds visual stacked armor display and interface elements for clear player feedback.
Disclaimer: I do not claim authorship of the content in this mod. All credit goes to RebelKeithy for the original mod and tfarecnim for the toughness icon.
Mods adding cooldown bars in the screenshot: Origins, Origins: Classes, and specifically, Expanded Classes: An Origins Addon.