Mod by CGRLabs
Villages raise iron-armored guards who defend the town and rally when one of their own is hit.
No ratings yet726 downloadsVersion 0.8.0MITboth
Made by CGRLabs. Its authors own it and answer for it. Not made or endorsed by the Horizon project. Mod policy
Your villages can fight back. Guard Villagers adds armed guards on top of the villagers a town already has: two for every three residents. Farmers, librarians and toolsmiths keep their trades while patrols form around them.
Guards wear iron armour and carry a sword, a sword and shield, or a crossbow. They hunt hostile mobs, and striking one brings the rest of that village running. Villages share spare guards when one has lost residents, and babies born near a garrison can become guards when it is short-handed.
This release is a sandboxed WebAssembly mod: install it on the launcher's Mods page with nothing to build. It runs on both the client and the server; host and guests need it installed for the same village rules to apply. Built on the pinned Horizon 0b14f8a SDK.
WebAssembly mods are sandboxed and cannot touch your files or the network.
Source and build guide: https://github.com/CGRLabs/guard-villagers/tree/v0.8.0-hmod/hmod
Mods run in a sandbox with no file, network or clock access. The game refuses a mod whose code uses more than this list.
0.8.02026-11-21 · for Minecraft 26.3 · API 0.2
First WebAssembly .hmod release after the .hnmod format was retired. Full village grouping, guard hiring, iron gear, combat goals, baby promotion and surplus rebalancing ported to the mod API. Combat goals are now installed once per live entity rather than on every server tick, so a loaded village no longer grows its goal selectors without bound, and village reassignment clears every coordinate tag so a guard can no longer read back a mixed village key. 15 unit tests, source check and signed package check pass.