ModsFinder

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.

FabricServer-side onlyCC0 1.0 UniversalOpen source1.20.1 – 1.20.6

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

  1. Locked wooden doors

    Wooden doors can be marked as locked, so villagers path around them in the same way they avoid iron doors.

  2. Selective targeting

    Only the doors a player chooses are affected, while other wooden doors in the world keep normal behavior.

  3. Door commands

    Simple commands lock a targeted door, reopen it to villagers and check its current status.

  4. 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.

1.20.61.0.0
1.20.51.0.0
1.20.41.0.0
1.20.31.0.0
1.20.21.0.0
1.20.11.0.0
ReleaseBetaAlphaNot available

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Lock Doors From VillagersFabric1.20.1 – 1.20.6Server-side only2026-02-22
Lock OnFabric1.20 – 1.20.4Client-side only2023-10-23
Doors ClosedFabric1.19.4 – 26.3Server-side only2026-08-03

Questions

Does Lock Doors From Villagers need to be installed on the client?

No. The mod is server-side only, so players can join a server running it without installing anything.

Which loader does Lock Doors From Villagers use?

It is published for Fabric only. Forge and NeoForge files are not listed.

Which game versions are supported?

Files cover 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5 and 1.20.6, with 1.0.0 for 1.20.6 as the latest release.

How are doors closed to villagers?

Simple commands close a targeted door to villagers, reopen it and show its current status, so a door can be changed without replacing it.

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…
Samilton, on the Modrinth page

Official listing

Owner
Samilton
Published
2026-02-21
Updated on Modrinth
2026-02-22
Facts verified
2026-10-15

Tags