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.
* means a feature is configurable
These spawn in villages in groups of about 6, equipped with either an iron sword or a crossbow. They're prepared to fight any threat to the village (possibly including you!). To make new guards, shift + right click on a nitwit or unemployed villager with a sword or crossbow.
If you have hero of the village, they will gain the ability to follow and fight for you when you click the follow button, and right clicking them 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. Clicking the patrol button will allow you to set patrol points for guards, melee guards will walk around the point while ranged guards will snipe enemies and stand still on their point.
You will only be able to gain access to their inventory if you have hero of the village.
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 + players with Hero of the Village using regeneration potions, and smiths repair iron golems with ingots.
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 WITH EXPRESSED PERMISSION FROM THE AUTHOR.
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.
Can I modify this mod?
You can modify this mod only if you intending to make a pull request on the mod's github or intending to use the modified build PRIVATELY. Releasing modified builds to the public is NOT ALLOWED as I do not want multiple unofficial versions of this mod going around, you are allowed to make an addon to this mod however.
Is this mod compatible with X mod?