Mod

Guard Villagers

Quick rating

Guard Villagers

No reviews yet

Guards that help with village pest control

Medieval
Village & Farm Life
Base Defense
Village Improvements
Hostile Mobs
NPCs
Illagers
Mod Loaders
Forge
NeoForge
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
Custom License
Latest Version
guardvillagers-4.0.0-26.2.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

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

Fabric version here! (UNOFFICIAL AND NOT MADE BY ME, PLEASE REPORT ANY ISSUES PERTAINING TO THEM TO THEIR DISCORD, NOT OURS)

Post your suggestions here!

Guards 

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.

https://i.imgur.com/vpfqbl2.png

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.

Other minor additions include:

Big-headed baby villagers from bedrock have been added*(true by default)

Witches attack villagers. *true by default 

In raids, illagers kill any animal they see. *true 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.

What about [insert newest version]?

Sorry, but this mod will only be updated to major version changes (1.20, 1.21, 1.22, etc) for the simple fact that I cannot physically dedicate all my existing time to updating my mods to every single new drop.

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?

To make guards spawn with custom equipment, simply override these files in a custom datapack:

If using 1.20.1 and up, override the files in the armor_sets folder: https://github.com/seymourimadeit/guardvillagers/tree/main/src/main/resources/data/guardvillagers/loot_table/entities 

If using 1.19.2 and below, override the guard_(equipment slot) files: https://github.com/seymourimadeit/guardvillagers/tree/1.19/src/main/resources/data/guardvillagers/loot_tables/entities

See an example datapack for 1.21.1 (which can be made compatible for 1.20.1 by changing the loot_table folder to loot_tables): https://github.com/seymourimadeit/Guard-Datapack-Example 

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.

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.

 
 

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. 

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.

Screenshots

Gallery

  • Guard phalanx
    Guard phalanx
  • Guards patrolling
    Guards patrolling
  • all guard variants
    all guard variants
  • crossbow guard
    crossbow guard
  • desert guards
    desert guards
  • guard wearing full diamond
    guard wearing full diamond
  • guard guarding
    guard guarding
  • Cleric Healing Mechanic
    Cleric Healing Mechanic
  • guards attacking
    guards attacking

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
2
In stacks

By the numbers

Statistics

98.1m
Total Downloads
CurseForge
86.6m
Modrinth
11.4m
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync