Lock Doors From Villagers
by Samilton
Lock Doors From Villagers lets a player mark selected wooden doors so that villagers cannot pass through them, the way they already avoid iron doors.
What it does
By default, villagers only treat iron doors as off limits. This mod extends that behavior to wooden doors that a player chooses, so a door can be set to act like an iron one for villager movement. The door itself keeps its wooden look, which helps builds that rely on wooden doorways for their style. Each targeted door can be closed to villagers or opened again with simple commands, and a status check shows whether it is currently locked.
The mod is useful for controlling villager traffic in towns, keeping villagers out of rooms in custom builds, and separating trading halls from the rest of a settlement, all without replacing doors with iron ones. It runs on the server alone, so players join without installing anything. It is built for Fabric and covers 1.20.1 – 1.20.6, with 1.0.0 for 1.20.6 as the latest file. The code is released under CC0 1.0 Universal, which makes it open source.
Key features
Locked wooden doors
Wooden doors can be marked as locked, so villagers path around them in the same way they avoid iron doors.
Selective targeting
Only the doors a player chooses are affected, while other wooden doors in the world keep normal behavior.
Door commands
Simple commands lock a targeted door, reopen it to villagers and check its current status.
Wooden appearance kept
Doors keep their wooden look, so builds that use wooden doorways do not need iron replacements.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Trading halls
A trading hall can be kept free of villager traffic while the rest of a town stays open.
Custom builds
Rooms in a build can be closed to villagers without changing the materials used for the doors.
Who it’s for: The mod suits server owners and map builders who want to control where villagers walk in towns, trading halls and custom structures.
How it compares
Lock On is a Fabric mod for 1.20 – 1.20.4 that runs on the client alone, is released under the MIT License and is open source. Doors Closed is a Fabric server-side mod for 1.19.4 – 26.3 under the MIT License, also open source. Lock Doors From Villagers is server-side only, covers 1.20.1 – 1.20.6 and is released under CC0 1.0 Universal.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Lock Doors From Villagers | Fabric | 1.20.1 – 1.20.6 | Server-side only | 2026-02-22 |
| Lock On | Fabric | 1.20 – 1.20.4 | Client-side only | 2023-10-23 |
| Doors Closed | Fabric | 1.19.4 – 26.3 | Server-side only | 2026-08-03 |
Questions
Does Lock Doors From Villagers need to be installed on the client?
Which loader does Lock Doors From Villagers use?
Which game versions are supported?
How are doors closed to villagers?
In the catalog
Lock Doors From Villagers is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 11,154 mods support Minecraft 1.20.6.
Similar mods
What the author says
By default, villagers are blocked by iron doors only. This mod allows you to selectively treat targeted wooden doors as "iron-like" for villager behavior. Use simple commands while looking at a door to lock, unlock, or check its status. This is useful for controlling villager movement in towns, trading halls, and…
Official listing
- Modrinth page
- modrinth.com/mod/lock-doors-from-villagers
- Owner
- Samilton
- Published
- 2026-02-21
- Updated on Modrinth
- 2026-02-22
- Facts verified
- 2026-10-15
