
Villager Barrier
Invisible Villager Barriers that stop only Villagers from passing through.
Screenshots



About this Mod

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 disabled and reenabled again with the Villager Barrier Detector. This allows for open wandering and cool builds without any hassle.
Villager Barrier Detector Uses
The Villager Barrier Detector can be used to do everything stated above but it also has other features.
How to Enable or Disable Barriers
The Villager Barrier Detector allows you to right click the barrier blocks to enable or disable the block. By default all Villager Barrier Blocks are enabled. This means Villagers can't pass through them. If you right click while holding the Villager Barrier Detector to disable the barriers Villagers will now be able to pass through them. You will also get feedback on screen stating whether you are disabling or enabling a Villager Barrier.
How to Tell if a Barrier is Enabled or Disabled
You can tell if a Villager Barrier is disabled by either looking at the color of the barrier or by hovering over a Villager Barrier with the Villager Barrier Detector. If the Villager Barrier Detector says "Villager Barrier is disabled" then that barrier is disabled. There is no text overlay for enabled barriers when hovering over them. The only text for enabled barriers is when enabling them after they have been disabled.
Crafting Recipes
Villager Barrier:
This recipe gives 16 barriers
- Iron Nugget, Iron Nugget, Iron Nugget
- Emerald, Emerald, Emerald
- Iron Nugget, Iron Nugget, Iron Nugget
Villager Barrier Detector:
- Iron Nugget, Lightning Rod, Iron Nugget
- Emerald, Glass, Emerald
- Iron Nugget, Redstone Dust, Iron Nugget
Almost all pressure plates are made with the pressure plate you want and a Villager Barrier placed side by side.
The Distorted Player Pressure Plate has two crafting recipes. The first is the normal way if you have the Cobblemon Distortion World mod installed. The second is made with a Villager Barrier and a blue carpet.
The Apricorn Player Pressure Plate has two crafting recipes. The first is the normal way if you have the Cobblemon mod installed. The second is made with a Villager Barrier and a brown carpet.
The Saccharine Player Pressure Plate has two crafting recipes. The first is the normal way if you have the Cobblemon mod installed. The second is made with a Villager Barrier and a light blue carpet.
The Villager Pressure Plate is made by placing a Villager Barrier in the crafting grid.
For any questions or issues not answered on this page join the Discord for support.
Available Versions
How to Install Villager Barrier on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Villager Barrier". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Villager Barrier server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Villager Barrier compatible with fabric?
Villager Barrier officially supports fabric for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Villager Barrier – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Villager Barrier consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Villager Barrier with just one click on your server.


