Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Villager Trade Guard
Villager Trade Guard is a small quality-of-life Fabric mod for players who accidentally hit villagers when they meant to trade with them.
It is especially useful for trackpad users, where right-clicking can be awkward and accidental left-clicks are easy. When the mod is enabled, trying to attack a villager or wandering trader opens their normal trading interaction instead.
Features
- Prevents accidental hits on villagers
- Works with villagers and wandering traders
- Converts left-click attacks into trade interactions
- Works client-side on multiplayer servers
- Also provides server-side protection when installed on a server
- Supports Mod Menu
- Includes an in-game toggle to turn the behavior on or off
Configuration
If you have Mod Menu installed, open the Villager Trade Guard config screen to toggle the mod on or off.
The setting is saved locally and will persist between game launches.
Multiplayer Notes
Villager Trade Guard can work when installed only on your client. In that mode, it prevents your client from sending the attack action and sends a normal interaction instead.
Client-side mods cannot override server rules, so trading still depends on whether the server allows the normal villager interaction.
Credits
This mod was fully AI-generated using Codex and ChatGPT.


