This is a simple Fabric mod, that displays the health of entities via text over their head (toggleable).
This screenshot shows how the mod displays the health of an entity (Husk in this case).