ModsFinder

Villager Barrier

by Trunky

With Villager Barrier, invisible barrier blocks keep only Villagers out of chosen areas while players walk through freely.

FabricClient and serverAll rights reserved1.21.1

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

  1. Villager-only barriers

    Invisible barriers stop only Villagers, leaving players and other entities free to move through the same space.

  2. Barrier detector

    A detector item can be disabled and re-enabled again, giving control over when the barrier is active.

  3. Crafted barrier blocks

    A barrier recipe yields 16 blocks, using iron nuggets, emeralds and redstone dust with other common materials.

  4. Pressure plate recipes

    Several player and villager pressure plates are craftable, some by placing a Villager Barrier beside a carpet.

Compatibility

Latest build for each game version and loader.

1.21.11.0.3
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Villager BarrierFabric1.21.1Client and server2026-09-04
Easy Craftable BarriersFabric1.21.11 – 26.2Client and server2026-08-25
Villagers follow youFabric1.21 – 1.21.1Client and server2025-02-06

Questions

Does Villager Barrier need Fabric API?

Yes. Fabric API is a required dependency, and the mod is published for Fabric only.

Does Villager Barrier have to be installed on both sides?

Yes. The server and every player need the mod installed.

Which game versions does Villager Barrier support?

Only 1.21.1. The latest Fabric file is 1.0.3 for 1.21.1, published on 2026-09-04.

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

All projects

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

Official listing

Owner
Trunky
Published
2026-01-14
Updated on Modrinth
2026-09-04
Facts verified
2026-10-15

Tags