Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Supported environments
Creators
Details
Licensed CC-BY-4.0
Published 3 months ago
Updated 2 weeks ago
Protect My Villager
Introduction
Adds a protection & filtering feature that prevents you from accidentally attacking villagers.
If you've ever hit a villager by your mistake and ended up with higher trade prices, this mod will solve that problem.
Features
- Toggle protection via toggle keybinding (Default: M)
- Supports mod menu configuration to customize options
- Toggle hand swing animation when attacking villagers (packet included)
- Bypass attack cancellation if the hand item is sword-type
FAQ
-
Why should I use it?
- It is lightweight and user-friendly. You can customize extensive filters via the mod menu and toggle features instantly using keybinds.
-
How does it work?
- It hooks attack methods to filter specific entity types and cancels attack packets before they are sent.
-
Where can it be used?
- Since it operates entirely on the client-side, you can use it anytime and on any server.
-
Does it affect the server?
- No. It has no impact on server-side logic or your game performance.
Dependencies
- Fabric API
- Mod Menu (Optional, used for configuration)



