Guard Villagers

Guard Villagers

Village Pest Control

by
12.3M Downloads
forgeneoforgemobsutility
Rent Server with this Mod

Screenshots

Guard Villagers Screenshot 1
Guard Villagers Screenshot 2
guards attacking
Guard Villagers Screenshot 4
Guard Villagers Screenshot 5

About this Mod

Are you tired of your village dying off because its golem is too lazy?

Are you tired of essentially defending it all by yourself?

This mod adds Guards as a solution, as well as new villager-related AI changes.

An * means a feature is configurable

Guard

Guard information

They spawn in villages in groups of six, equipped with either an iron sword or a crossbow. They're prepared to fight any threat to the village (possibly including you!). You can make new guards by crouching and right clicking on a nitwit or unemployed villager with a sword or crossbow.

Guards can 'gossip' with villagers and will trust the player to open their inventory if they have a high enough reputation, have hero of the village, or was converted by the player. Right clicking will open up the guard inventory, allowing you to give them armor, and swap out their weapons! For their offhand slot, you can either give them a shield, or some food. If they have a shield, they will use it to block attacks. Crossbow guards with a shield won't be able to kick enemies if they're blocking. If they have food (or a potion), they will start eating or drinking if they are low on health.
Guard inventory

Players are able to make guards stand on a specific area by clicking on the 'patrol' button seen on the right. If the player has hero of the village, the 'follow' button, seen on the left, will be unlocked and as the name implies will allow guards to follow the player and fight for the player. Ringing a village bell with the hero of the village effect will also allow multiple guards in the bell's area to follow the player.

Misc

Baby villagers now have big heads, just like in bedrock!
baby
Witches attack villagers. *true by default 
witch attack villager
In raids, illagers kill any animal they see. *false by default 
Rueben is dead
Villagers and Illagers are scared of polar bears. *true by default 
Clerics heal low-health guards, villagers, and players with Hero of the Village using regeneration potions up to three times per day. Smithing villagers repair golems and guard equipment (that is below and up to half durability) three times per day.
Cleric heals
Villagers that have excess food in their internal inventory will give food to the guards. 

Golems will now float on water in order to avoid being stuck in rivers and ponds. *true on default

Frequently Asked Questions

Can you port to an older version/fabric?

No. Maintaining one version is hard enough already, and I've never learned fabric. However, the mod's license permits you to make ports yourself. A fabric version of this mod also currently exists.

Can you port to Windows 10 Edition/Xbox/Mobile?

No. Mods for the Bedrock ediiton use a completely different framework that I've also never learned. The mod's license allows you to try yourself, but since the modding API on Bedrock is less capable than forge you probably won't be able to replicate all of it.

Why don't guards have a workstation like other villager professions?

I haven't thought of a suitable block that would let you have a large number of guards without being inconvenient to store.

How would you make guards spawn with modded equipment?

You can make them spawn with modded equipment by making a datapack that overrides the guard_chestplate, guard_helmet, guard_legs, guard feet, guard_main_hand or guard_off_hand json files. 

How do I make the mod less laggy?

Any extreme amount of lag is unintended by the mod and should be reported to the github. However, disabling the ability to guards to patrol villages in the config can help.

Also guardTick is a vanilla method, it is not from guard villagers. Don't get confused when seeing that in a profiler. All it does is handle general entity ticking for all entities.

Is this mod compatible with X?

Try and see!

 Special thanks to those in the MMD discord for helping me with some of the mods contents.

Available Versions

4.0.1release
MC 26.2neoforge
August 13, 2026
4.0.0release
MC 26.2neoforge
June 20, 2026
1.6.18release
MC 1.20.1forge, neoforge
June 11, 2026
2.4.10release
MC 1.21.1neoforge
June 11, 2026
3.0.4release
MC 26.1.2neoforge
June 11, 2026

How to Install Guard Villagers on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (26.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Guard Villagers". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forgeneoforge

Minecraft Versions

26.2, 26.1.2, 26.1.1 (+16 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Guard Villagers server crashes on startup – what to do?

Most common cause: wrong forge 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 (26.2). You can switch loaders with one click in the panel.

Is Guard Villagers compatible with forge and neoforge?

Guard Villagers officially supports forge, neoforge for Minecraft 26.2, 26.1.2, 26.1.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Guard Villagers – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Guard Villagers 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.

Rent Modded Server

Install Guard Villagers with just one click on your server.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-Custom
Server-side
Required

Supported Versions

26.226.1.226.1.126.11.21.11.211.20.51.20.41.20.21.20.1+9 more