This mod allows you to understand when the enemy has hit you beyond the capabilities of vanilla Minecraft (3 or more blocks in survival).
The mod shows the enemy's attack distance, and if he is more than 3 blocks away, a text with the strike distance will appear on the screen. You can also customize the mod settings.
Preview

How to Install Hit Distance (Mod)
Hit Distance by 0mnr0 is verified for Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.8, 26.1, 26.1.1, 26.1.2, 26.2, 26.3 (latest release: 1.0.1-26.3, file size: 24 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.8, 26.1, 26.1.1, 26.1.2, 26.2, 26.3) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Hit Distance file into your Minecraft
.minecraft/modsfolder and launch the game.