Villager Trade Guard
by Toast5
Villager Trade Guard changes what a left-click does on wandering traders and villagers, so a stray hit opens the trade screen instead of attacking.
What it does
On a client with the mod installed, left-clicking a villager or a wandering trader opens the normal trading interaction rather than sending an attack. The mod swaps the attack action for the standard interaction, which helps players who use a trackpad, where right-clicking is awkward and accidental left-clicks are common.
The behavior can be switched off in game. With Mod Menu installed, the config screen of Villager Trade Guard holds a toggle that turns the mod off, and the chosen setting is saved locally and persists between game launches. Whether a trade goes through still hinges on the server, since client-side mods cannot override server rules.
Only the client needs the mod, so the server may run without it, and it can add server-side protection when it is installed there. The mod is published for Fabric only, with one file for 26.1.2: version 1.1.0, dated 2026-05-17. It is released under the MIT License and is not open source. Mod Menu is optional.
Key features
Left-click becomes trade
A left-click on a villager or wandering trader opens trading instead of hitting the entity.
Protection from accidental hits
Villagers are safe from stray attacks made while moving the pointer or tapping a trackpad.
In-game toggle
A switch turns the behavior off, so the original attack action returns without reinstalling.
Mod Menu config screen
When Mod Menu is present, the settings screen opens from the mod list and stores the choice locally.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Optional 1
Use cases
Who it’s for: Players on Fabric who use 26.1.2 and want to avoid hitting villagers by accident, especially those using a trackpad or touch-style input.
How it compares
Better Infinite Trading is a Fabric server-side mod for 26.1 – 26.1.1, open source under the Apache License 2.0, so it changes trades on the server rather than the click. VillagersB is a Fabric mod for 26.1.1 that runs on client and server and is open source under the CC0 1.0 Universal license. Friendly Guards is server-side only for 1.21.5 under the MIT License and is not open source, which makes it a different kind of guard for villagers.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Villager Trade Guard | Fabric | 26.1.2 | Client required, server optional | 2026-05-17 |
| Better Infinite Trading | Fabric | 26.1 – 26.1.1 | Server-side only | 2026-04-02 |
| VillagersB | Fabric | 26.1.1 | Client and server | 2026-04-05 |
| Friendly Guards | Fabric | 1.21.5 | Server-side only | 2025-11-02 |
Questions
Does Villager Trade Guard need to be on the server?
Does Villager Trade Guard need Mod Menu?
Which game version does Villager Trade Guard support?
In the catalog
Villager Trade Guard is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from Toast5
Similar mods
What the author says
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…
Official listing
- Modrinth page
- modrinth.com/mod/villager-trade-guard
- Owner
- Toast5
- Published
- 2026-05-17
- Updated on Modrinth
- 2026-05-17
- Facts verified
- 2026-10-15
