Customizable Client-side Directional Damage Indicator (CCDDI) adds a simple yet extremely helpful damage indicator around your crosshair, alerting the player to nearby damage sources.
Depends on ModMenu and YetAnotherConfigLib (YACL) for the extreme customization of the indicator, including its position and appearance in the heads-up-display (you can even choose your own textures for the indicator!)

Vanilla Minecraft already has a damage indicator (shaking the camera in the direction of the damage), but it is more disorienting than useful.
I am considering porting to NeoForge and 1.20.1, so please refrain from asking!
How to Install CCDDI (Damage Indicator) (Mod)
CCDDI (Damage Indicator) by SnackPirate is verified for Fabric across Minecraft versions 1.20.1, 1.21, 1.21.1 (latest release: 1.1.1-1.20.1, file size: 20 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21, 1.21.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded CCDDI (Damage Indicator) file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add VersionNOTE: THIS DOES NOT WORK WITH 1.20.2+. MODRINTH SAYS IT DOES, IT DOES NOT. I MESSED UP THE VERSIONING AND CAN'T CHANGE IT FOR THIS SPECIFIC RELEASE.