Modscraper Modscraper Minecraft
Protect My Villager logo

Protect My Villager

Mod

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

Type

Mod

Modrinth Downloads

5,295

Modrinth ID

q4DkatAi

Last Updated

Oct 10, 2026

Description

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

Compatibility

Mod Loaders

Fabric

Game Versions

1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 +2 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Screenshots

Similar Mods

Included in Modpacks (1)

External Resources