Trinket Heart Canisters

This mod introduces three tiers of colored hearts and special containers for them that are equipped in dedicated accessory slots.
Red hearts drop from endermen and witches. Green hearts can be obtained from elder guardians, ravagers, and vindicators. Blue hearts are acquired by defeating withers and ender dragons. All these mob lists can be customized through configuration settings using the entity tags trinketheartcanisters:red_hearts, trinketheartcanisters:green_hearts, and trinketheartcanisters:blue_hearts.
Each type of heart canister allows you to equip up to 10 units, with each one increasing your health by one additional heart. Recipes for creating heart canisters are displayed in the REI interface.
Trinket Heart Canisters requires Fabric API and Trinkets to function properly.