Simple Mod that disables the Players Hit-Attack on Villagers.
By default the Attack is disabled but can be turned back on by pressing the 'P'-Key. This Keybind can be remapped.

How to Install No Hitting Villagers (Mod)
No Hitting Villagers by PlexiglasOG is verified for Fabric across Minecraft versions 1.21.10, 1.21.11 (latest release: 1.0.2-1.21.11, file size: 29 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) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded No Hitting Villagers file into your Minecraft
.minecraft/modsfolder and launch the game.