Modrinth · Forge, NeoForge

Guard Villagers on your Minecraft server

Guard Villagers runs on Minecraft servers with Forge or NeoForge. Order your server, set the loader in the panel and install the mod with one click in the mod browser.

Village Pest Control

Downloads
14.0M
Author
seymourimadeit
Loader
Forge, NeoForge
Minecraft
1.16.5 – 26.3
Updated
–

Screenshots

What Guard Villagers looks like

Images: Guard Villagers on Modrinth, published by the project team.

Setup

Install Guard Villagers on your server

The server and players need the same loader and Minecraft version. Back up the world before adding or updating mods.

  1. 01

    Configure

    4 GB of RAM is preselected. You choose the term and add-ons and pay by credit card or PayPal.

  2. 02

    Set the loader

    In the panel, set the server software to Forge or NeoForge and choose the matching Minecraft version, for example 26.3.

  3. 03

    Install the mod

    Search the mod browser for “Guard Villagers” and install the release for your loader. Alternatively, upload the .jar to the mods folder via SFTP. Required dependencies are listed on the project page.

  4. 04

    Connect

    Every player installs the same Guard Villagers release locally and connects using the server address from the panel.

On the server
Required
On the client
Required
Loader
Forge, NeoForge
Minecraft
26.3, 26.2, 26.1.2 +17 more
License
LicenseRef-Custom

The panel

Install mods, find errors.

Real screenshots from the Mado panel. Both come with every Minecraft server.

Mod browser

Modrinth and CurseForge, right in the panel.

The browser filters by your Minecraft version. Install mods with one click, without uploading .jar files.

Browser in the Mado panel with search, a CurseForge or Modrinth source switch and install buttons.

AI crash analysis

When a mod crashes, the analyzer reads the log.

Mods often fail on a wrong loader version, Java version or missing dependency. The analyzer names a likely cause and suggests a fix.

Optimization page in the Mado panel with the AI Log Analyzer enabled and a “Server Crashed” notice with an “Analyze Now” button.

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

Guard Villagers · Modrinth
Original description by the project author

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.

FAQ

Guard Villagers questions

Question not listed? Ask our team.

Guard Villagers server crashes on startup – what to do?

Common causes: the loader or Minecraft version does not match the mod file, a dependency is missing, or RAM is too low. Check the log (latest.log) for “OutOfMemoryError”, “Mixin” or missing mods. At Mado, the AI crash analysis reads the log and suggests a cause. You can change the loader and version in the panel.

Which loader does Guard Villagers run on?

According to Modrinth, Guard Villagers supports Forge, NeoForge for Minecraft 26.3, 26.2, 26.1.2.

How much RAM does a server with Guard Villagers need?

As guidance, 3–4 GB for a server with this mod. This is an estimate, not a measured minimum. More mods, many players and long view distances need more. The spark profiler shows whether a mod is costing tick time.

Ready for your server with Guard Villagers?

4 GB of RAM from €8.00 per month. 35% off your first month with MADO35.

Order server