
Guard Villagers
Village Pest Control
Screenshots





Über diese 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 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.
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!
Witches attack villagers. *true by default 
In raids, illagers kill any animal they see. *false by default 
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.
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.
Verfügbare Versionen
Guard Villagers auf dem Server installieren
Server bestellen
Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).
forge Loader setzen
Wähle im Panel unter "Egg" den forge-Loader und die passende Minecraft-Version (26.2).
Mod installieren
Öffne den Mod-Browser im Dashboard und suche nach "Guard Villagers". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.
Kompatibilität
Mod-Loader
Minecraft-Versionen
26.2, 26.1.2, 26.1.1 (+16 weitere)
Server-seitig
✓ ErforderlichEmpfohlener RAM
4 GB(min. 3 GB)Häufige Fragen
Guard Villagers Server crasht beim Start – was tun?
Häufigste Ursache: falsche forge-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (26.2). Über das Panel kannst du den Loader mit einem Klick wechseln.
Ist Guard Villagers mit forge und neoforge kompatibel?
Guard Villagers unterstützt offiziell forge, neoforge für Minecraft 26.2, 26.1.2, 26.1.1. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.
Server laggt mit Guard Villagers – wie optimiere ich die Performance?
Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob Guard Villagers den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.
Ähnliche Mods
Modded Server mieten
Installiere Guard Villagers mit nur einem Klick auf deinem Server.