Villager Barrier
by Trunky
With Villager Barrier, invisible barrier blocks keep only Villagers out of chosen areas while players walk through freely.
What it does
Villager Barrier adds invisible barrier blocks that stop Villagers from passing through them, while players, mobs and other entities are not affected. Builders can use them to mark where Villagers may not go, which keeps villages and farms from being crowded or disturbed. The barrier's bounding box cannot be broken unless the player holds a Villager Barrier item, so it stays in place during normal play.
The mod also provides a Villager Barrier Detector, which can be disabled and re-enabled again to control barrier behavior. Its uses are described by the mod's own features. Crafting a barrier yields 16 blocks from one recipe, and the mod includes several pressure plate recipes built around barrier and carpet ingredients. Villager Barrier requires Fabric API, is published for Fabric only, and is available for 1.21.1 only. It runs on the client and server, so both the server and every player need it. The mod is released under All rights reserved and is not open source.
Key features
Villager-only barriers
Invisible barriers stop only Villagers, leaving players and other entities free to move through the same space.
Barrier detector
A detector item can be disabled and re-enabled again, giving control over when the barrier is active.
Crafted barrier blocks
A barrier recipe yields 16 blocks, using iron nuggets, emeralds and redstone dust with other common materials.
Pressure plate recipes
Several player and villager pressure plates are craftable, some by placing a Villager Barrier beside a carpet.
Gallery
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.
Required 1
Use cases
Protecting villages
Builders can wall off part of a village so Villagers stay out of a farm or a build site.
Open builds
Barriers keep Villagers out of a zone while players keep open access for wandering and building.
Who it’s for: Builders, map makers and server owners who want to keep Villagers out of specific areas on a Fabric 1.21.1 setup, while leaving players free to move.
How it compares
Easy Craftable Barriers is a Fabric mod for 1.21.11 – 26.2, released under the MIT License and not open source, and it runs on the client and server. Villagers follow you is a Fabric mod for 1.21 – 1.21.1, under All rights reserved and not open source, and it also runs on the client and server, so both mods cover the same version as Villager Barrier only partly.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Villager Barrier | Fabric | 1.21.1 | Client and server | 2026-09-04 |
| Easy Craftable Barriers | Fabric | 1.21.11 – 26.2 | Client and server | 2026-08-25 |
| Villagers follow you | Fabric | 1.21 – 1.21.1 | Client and server | 2025-02-06 |
Questions
Does Villager Barrier need Fabric API?
Does Villager Barrier have to be installed on both sides?
Which game versions does Villager Barrier support?
In the catalog
Villager Barrier is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from Trunky
Similar mods
What the author says
This mod adds Villager Barrier blocks that stop only Villagers from passing through. This means you can choose where your Villagers can and can't go. The Villager Barrier is invisible, has no bounding box, and can't be broken unless holding the Villager Barrier or the Villager Barrier Detector. They also can be…
Official listing
- Modrinth page
- modrinth.com/mod/villager-barrier
- Owner
- Trunky
- Published
- 2026-01-14
- Updated on Modrinth
- 2026-09-04
- Facts verified
- 2026-10-15
