Language

Protect My Villager

Protect My Villager

Modrinth

Simple utility mod that prevents hitting villagers accidentally and adds protection filters.

4.1k downloads 13 followers updated 1mo ago
latest v1.2.4 Modrinth
Fabric 1.21 – 1.21.11 Game-mechanicsMobsUtility

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

Updates & Screenshots

Versions

Release
1.2.4
fabric · 1.21.9, 1.21.10, 1.21.11 · 1mo ago
# v1.2.4 (1.21.9+) ## Updates - Changed mod config screen
336
Release
1.2.3
fabric · 1.21.9, 1.21.10, 1.21.11 · 2mo ago
# v1.2.3 (1.21.9+) ## Updates - Changed mod config screen - Removed unused logic
543
Release
1.2.2
fabric · 1.21.9, 1.21.10, 1.21.11 · 4mo ago
# v1.2.2 (1.21.9+) ## Updates - Changed author - Removed hardcoded mod id
483
Release
1.2.1
fabric · 1.21.9, 1.21.10, 1.21.11 · 5mo ago
# v1.2.1 (1.21.9+) ## Updates - Fixed minor issues - Simplified code structure through refactoring
469
Release
1.2
fabric · 1.21.9, 1.21.10, 1.21.11 · 5mo ago
# v1.2 (1.21.9+) ## Updates - Added new option that bypasses attack cancellation when a holding sword - Changed mod author (kop -> GreyMusic) - Changed Y…
299
Release
1.1
fabric · 1.21.9, 1.21.10, 1.21.11 · 6mo ago
# v1.1 (1.21.9+) ## Updates - Updated to be compatible with 1.21.11 - Fixed all crashes in mod container init logic (sorry for the late update) - Added some…
268
Alpha
1.0.7
fabric · 1.21.9, 1.21.10 · 6mo ago
# This version needs some fixes! (Please use 1.0.6 or 1.0.5)
118
Alpha
1.0.7
fabric · 1.21, 1.21.1, 1.21.2 · 6mo ago
# This version needs some fixes! (Please use 1.0.6 or 1.0.5)
301
Release
1.0.6
fabric · 1.21.9, 1.21.10 · 6mo ago
# v1.0.6 (1.21.9+) ## Updates - Version compatible with 1.21.9 ~ 1.21.10
227
Release
1.0.6
fabric · 1.21, 1.21.1, 1.21.2 · 6mo ago
# v1.0.6 ## Updates - Simplified conditional logic in mixins - Removed duplicated code - Optimized some simple logics
160
Release
1.0.5
fabric · 1.21.9, 1.21.10 · 7mo ago
# v1.0.5 (1.21.9+) ## Updates - Version compatible with 1.21.9 ~ 1.21.10
219
Release
1.0.5
fabric · 1.21, 1.21.1, 1.21.2 · 7mo ago
# v1.0.5 ## Updates - Fixed minor issues in removing swing hand logic - Added some logging utils in client initialization. - Removed useless logic in source…
83

Comments 0

No comments yet. Be the first to share your thoughts.