Description
Guard Villagers: All Villagers,Attack!
For Minecraft: Java Edition 1.20.1 — Forge.
Give villages the means to defend themselves while keeping everyday village life intact. Designed as a companion expansion for Guard Villagers, this mod adds profession-based combat, support and retreat behavior, villager revival, wandering trader spells, and a variety of everyday interactions.
Combat Roles by Profession
Armorers, butchers, farmers, leatherworkers, masons, toolsmiths, fishermen, weaponsmiths, fletchers, and nitwits actively join the fight, using tools or weapons suited to their roles.
- Weaponsmiths wield iron swords enchanted with Sweeping Edge III, dealing area damage and knocking back nearby enemies.
- Fletchers provide ranged support with bows.
- Nitwits throw eggs at enemies.
- Clerics throw regeneration potions at injured village allies and follow fighting villagers to provide support.
- Shepherds, cartographers, librarians, unemployed villagers, and baby villagers generally avoid danger, fighting back only when attacked directly.
Butchers, farmers, and fishermen carry food appropriate to their professions. When their health gets low, they seek cover behind allies and retreat to eat and heal.
Guards have adjusted base attributes: 24 maximum health, 5 attack damage, and 3 armor by default.
The mod’s standard proactive targeting skips creepers. Villagers and guards cannot be turned into witches by ordinary vanilla lightning strikes.
Village allies can also fight on Peaceful difficulty.
Appearance and Animations
Villagers use a model with separate arms, allowing them to display held items and head equipment. Wandering traders keep their arms folded while idle and unfold them during combat or spellcasting.
Villagers, wandering traders, and witches bend their legs when seated in boats, minecarts, and other vehicles that use a seated pose. Vindicators lower their arms while idle.
Guards with Firearms
When Guard Villagers, ewewukek’s Musket Mod, and Guard Villagers: All Villagers,Attack! are installed together, guards adapt their combat behavior to the firearm they carry.
Musket
Effective firing range: 28 blocks
Guards aim and fire at medium range, backing away when enemies get too close.
Musket with Bayonet
Effective firing range: 28 blocks
Guards fire at distant enemies and switch to chasing and stabbing with the bayonet at close range.
Scoped Musket
Effective firing range: 48 blocks
Guards stop to aim at distant targets. Shots fired after fully aiming through the scope deal double bullet damage.
Blunderbuss
Effective firing range: 12 blocks
Built for close-range combat, with guards responding to approaching enemies and backing away sooner.
Flintlock Pistol
Effective firing range: 16 blocks
Guards aim more quickly and retreat flexibly.
- Dual-wielding pistols: Guards equipped with a pistol in each hand alternate between them and reload each weapon separately.
- Scoped and emergency fire: Guards use the scope at long range. When enemies get close or the guard is retreating, they switch to ordinary musket-style emergency fire without the scoped damage bonus.
- Bayonet combat: Bayonet attacks use a thrusting animation and adjusted weapon positioning. Melee hits are no longer represented by an ordinary kick.
- Starting equipment: During natural spawning and supported spawn-egg and other spawning paths, guards that would normally receive a crossbow have a 30% chance to receive one of these five firearms instead.
- Gunshot volume: Gunshots are quieter for mobs using Musket Mod’s mob-firing interface, including guards, skeletons, and pillagers. Player gunshots and reloading sounds are unchanged.
Note: With only Guard Villagers and Musket Mod installed, firearm-equipped guards have a very short firing range, more limited AI, and no kicking behavior.
Village Defense and Revival
Ordinary villagers bound to beds and guards bound to bells can revive near their bound location after approximately 10 seconds, provided their death is not attributed to a player and the revival conditions are met.
Revival preserves key resident data, including profession, trades, level, inventory, and equipment. Revived residents return at full health with temporary effects cleared.
- Each bed supports one villager’s revival eligibility. Each bell can bind up to 10 guards.
- Residents continue to occupy their slots while awaiting revival or while infected.
- A player killing a resident or its linked zombie villager cancels that resident’s eligibility.
- Destroying an anchor, rebinding, and similar changes may also release or move a reservation.
- Revival requires a loaded chunk, supporting ground, and enough space for the entity. Common hazardous blocks and liquids are excluded. If no suitable location is available, revival waits and retries.
Modest Area Attacks
When an iron golem or ravager lands a melee hit, it can also strike a small area around the primary target, with a horizontal radius of approximately 1.2 blocks.
Secondary targets take 50% of that attack’s damage before damage reduction.
Wandering Traders and Iron Sword Allays
Wandering traders have 32 base health. They use bows enchanted with Flame I and Punch II at range, switching to golden swords with Fire Aspect II and Sharpness V in close combat.
Traders have two combat spells with independent cooldowns:
- Summon Iron Sword Allays: The trader waves both hands amid blue particles, summoning 1–3 Iron Sword Allays at random. The spell has a 17-second cooldown after casting finishes.
- Invisibility: The trader waves both hands amid white particles, becoming invisible for approximately 10 seconds and disrupting enemy targeting.
The Iron Sword Allay is a separate new mob. It has the blue appearance of an allay and carries an iron sword, with a vex’s health, attacks, flight, charging behavior, and ability to pass through walls. It belongs to the village’s allied faction.
Trader-summoned Iron Sword Allays follow the vanilla vex’s limited-lifetime rules, gradually losing health and dying once their lifetime expires. Their dedicated spawn egg appears in the vanilla Spawn Eggs creative tab. Individuals created with the spawn egg do not have a summoned lifetime.
Accompanying trader llamas select enemy targets and fight alongside the trader. With normal loot drops enabled, a trader has a 40% chance to drop its issued bow as additional loot, a 40% chance to drop its issued golden sword, and a 20% chance to drop no additional weapon.
Resident Caravans and Snow Golems
The mod attempts to establish resident caravans in loaded areas near players that meet the village and resident requirements. A complete caravan consists of one wandering trader and two llamas. Once all registered members have died, the mod attempts to spawn a replacement after approximately 5 minutes.
Snowy villages also attempt to spawn a snow golem when their first caravan is successfully established. Snowballs thrown by snow golems can damage enemies and briefly slow them.
Greeting Gifts
Baby villagers and adult nitwits look for visible players in Survival or Adventure mode within 16 blocks, provided those players have a reputation of at least 0 with them. They slowly approach and toss their gifts from approximately 3 blocks away.
- Baby villagers give a poppy. :)
- Adult nitwits have an equal chance to give either 6 brown dye and 7 cocoa beans, or 7 emeralds and 8 gold ingots.
Each villager gives a gift only once in its lifetime.
Bread Breeding and Leads
Feed one piece of bread to each of two adult villagers that are not on a breeding cooldown to start a courtship period lasting approximately 30 seconds. Once they find a nearby, visible mate, spend approximately 3 seconds courting, and get close enough, they produce a baby villager.
This method requires no unclaimed beds or workstations and does not consume the villagers’ internal food reserves. Both parents then enter a 5-minute breeding cooldown. Feeding bread to a baby villager reduces its remaining growth time by approximately 10%.
Vanilla breeding through food sharing and available beds remains intact.
Both adult and baby vanilla villagers can be led with leads or tethered to fences.
Zombie Infection and Curing
Villagers and guards follow vanilla difficulty-based zombie infection rules. When a registered resident is infected, it is uniquely linked to the resulting zombie villager to prevent duplicate revivals.
- If the linked zombie dies from a non-player cause, the original resident’s revival countdown begins.
- If a player kills the linked zombie, the resident’s eligibility is canceled and its slot is released.
- Curing cancels the pending revival record. Residents that were guards before infection regain their guard identity and equipment.
Naturally spawned zombie villagers without a linked resident record do not gain revival eligibility.
Equipment Durability Protection
Armor and main-hand weapons used by villagers, wandering traders, and guards no longer lose durability through use, including supported modded weapon paths. This applies to both generated equipment and equipment supplied by players, but does not repair existing damage. Off-hand shields still lose durability normally.
Ranged guards are no longer automatically equipped with off-hand shields.
Spawn Eggs and Compatibility
- Vanilla Villager Spawn Egg: Adult unemployed villagers created with this egg can randomly receive one of the 13 vanilla professions, become nitwits, or remain unemployed. Randomly assigned professions are temporarily protected against immediate job loss without a workstation. The protection ends after the first trade or after claiming a workstation.
- Guard Villagers: Guard spawn eggs support randomized biome appearances.
- Village faction: Supports designated entities or tags from mods including Villager Mage, Millager, and Iron’s Spells ’n Spellbooks.
- Goety: Includes compatibility for selected prisoner, servant, capture, and hostility mechanics. Apostles can no longer convert villagers into their followers, and wandering traders cannot be turned into prisoners.
- Mob Battle Mod’s Advanced Spawn Egg: After recording only an entity’s type with a non-sneaking left-click, spawning supports randomized villager professions and guard appearances.
- Summon Totem and Summon Totem Plus: Supports their corresponding summoning paths and profession pools. Supported advanced eggs that store only the entity type produce guards with randomized skins.
Other Adjustments
- Guard appearance compatibility: Quivers appear only when guards hold bows or crossbows. Head rendering accommodates helmets from other mods. Without this add-on, guards wearing certain modded helmets may experience model clipping.
- Pillager retreating: Crossbow-wielding pillagers back away when enemies approach, similar to piglins.
- Detection range and firing range are separate: Some village allies have enhanced awareness, but detecting an enemy does not mean they immediately open fire. Attacks remain limited by weapon range, line of sight, valid targeting, and loaded chunks.
警卫村民:全村出击
适用于 Minecraft Java 1.20.1 — Forge。
为村庄增添自保能力,也保留村民的日常生活。本模组作为《警卫村民》的配套扩展,为原版村民加入职业战斗、支援与撤退、村民复活、流浪商人法术及丰富的日常互动。
职业战斗分工
盔甲匠、屠夫、农民、皮匠、石匠、工具匠、渔夫、武器匠、制箭师和傻子会主动参战,使用对应的工具或武器。
- 武器匠使用带有横扫之刃 III的铁剑,对附近敌人造成范围伤害与击退。
- 制箭师使用弓进行远程攻击。
- 傻子向敌人投掷鸡蛋。
- 牧师向受伤的村庄友军投掷再生药水,并跟随参战村民提供支援。
- 牧羊人、制图师、图书管理员、无业村民和幼年村民通常优先躲避危险,被直接攻击后才会反击。
屠夫、农民和渔夫拥有对应的食物储备,低血量时会寻找友军掩护,撤退进食回血。
警卫基础属性调整:默认最大生命为 24 点、基础攻击属性为 5 点、基础护甲为 3 点。
本模组的常规主动索敌会跳过苦力怕。村民和警卫不会因原版雷击转化为女巫。
和平难度下村庄友方单位同样可以战斗。
外观与动作
村民采用分开的双臂模型,可展示手持物品、头部装备。流浪商人闲置时抱臂,战斗或施法时展开双臂。
村民、流浪商人与女巫乘坐船、矿车等需要坐下的载具时使用弯腿坐姿,卫道士闲置时放下双臂。
拿上火枪战斗的警卫村民
同时安装《警卫村民》、《ewewukek 的火枪模组》和《警卫村民:全村出击》时,警卫会根据不同枪械采用对应的战斗方式。
枪械:火枪
警卫有效开火距离:28格
特点:中距离瞄准射击,敌人逼近时后退
枪械:带刺刀的火枪
警卫有效开火距离:28格
特点:远程开枪,近距离切换刺刀追击与突刺
枪械:带瞄准镜的火枪
警卫有效开火距离:48格
特点:远距离停步瞄准,完成瞄镜射击后子弹伤害翻倍
枪械:雷筒
警卫有效开火距离:12格
特点:近距离作战,更早应对身边逼近的敌人并后退
枪械:燧发手枪
警卫有效开火距离:16格
特点:较快瞄准与灵活后撤
- 双持手枪:主副手都装备手枪时,警卫可交替使用两把枪,并分别处理装填。
- 瞄镜与应急射击:远距离使用瞄镜瞄准;敌人近身或警卫正在撤退时,改用普通火枪式应急射击,不享受瞄镜双倍伤害。
- 刺刀近战:配有突刺动作与枪械位置调整,近战命中不再由普通踢击代替。
- 生成装备:自然生成及刷怪蛋等指定生成路径中,原本配发弩的警卫有30%概率改配上述五种枪械。
- 枪声调整:降低采用该模组生物开火接口的枪声,包括警卫、骷髅和掠夺者;玩家开火与装填声音保持原样。
备注:如果只装警卫村民和火枪模组,持枪的警卫射击距离就会很短,AI 也比较差,且不会踢腿。
村庄防守与复活
绑定床的普通村民、绑定钟的警卫村民,在死亡不归因于玩家且满足条件时,可于约 10 秒后在绑定位置附近复活。
复活保留职业、交易、等级、库存、装备等主要居民数据,恢复满血并清除临时效果。
- 每张床提供一名村民的复活资格,每个钟最多绑定 10 名警卫。
- 等待复活或感染期间继续占用名额。
- 玩家击杀居民或其关联僵尸村民,会取消相应资格。
- 锚点被破坏、重新绑定等情况,也可能释放或迁移名额。
- 复活位置需要区块已加载、有承托方块与容纳实体的空间,并避开常见危险方块和液体;没有合适位置时等待重试。
非常合理的范围攻击
铁傀儡与劫掠兽近战命中时,可波及主目标附近的一小片敌人:水平半径约 1.2 格。
附带伤害使用本次攻击减伤前伤害的 50%。
流浪商人与铁剑悦灵
流浪商人的基础生命为 32 点。远程使用带火矢 I、冲击 II的弓,近身切换带火焰附加 II、锋利 V的金剑。
商人拥有两种独立冷却的战斗法术:
召唤铁剑悦灵:挥动双手散发蓝色粒子,随机召唤 1–3 个铁剑悦灵;施法完成后冷却 17 秒。
隐身:挥动双手散发白色粒子,隐身约 10 秒,干扰敌人锁定。
铁剑悦灵是独立的新生物,使用蓝色悦灵外观、手持铁剑,拥有恼鬼的生命、攻击、飞行、冲刺与穿墙特性,但属于村庄友方阵营
商人召唤的个体沿用恼鬼的限时消亡规则,寿命结束后逐渐失血死亡。原版创造模式刷怪蛋分类中可找到专属刷怪蛋,由刷怪蛋生成的个体不设置召唤寿命。
随行行商羊驼会选择敌方目标,与商人配合作战。正常掉落规则开启时,商人有 40% 概率额外掉落配发弓、40% 概率额外掉落配发金剑、20% 概率不额外掉落武器。
常驻商队与雪傀儡
本模组在玩家附近已加载、符合村庄与居民条件的区域,尝试建立常驻商队。完整商队包含一名流浪商人和两只羊驼。全部登记成员死亡约 5 分钟后尝试补刷。
雪地村庄在首次成功生成商队时还会尝试生成雪傀儡;雪傀儡的雪球命中敌人可造成伤害并附加短暂减速。
遇见赠礼
小村民与成年傻子会在 16 格内寻找可见、对自己声望不低于 0 的生存或冒险模式玩家,缓步靠近,在约 3 格距离抛出礼物。
- 小村民赠送一朵虞美人。:)
- 成年傻子以相同概率赠送6 个棕色染料与 7 个可可豆,或7 个绿宝石与 8 个金锭。
每个村民一生只赠送一次。
面包繁殖与拴绳
给两名成年且没有繁殖冷却的村民各喂一块面包,可以开启约 30 秒求偶期。找到附近可见配偶后,累计求偶约 3 秒且距离足够近时,生出幼年村民。
此途径不要求空床或工作站,不消耗村民内部食物储备;双亲随后进入 5 分钟冷却。给幼年村民喂面包,可缩短剩余成长时间约 10%。
原版食物与空床驱动的繁殖仍保留。
原版成年与幼年村民均可使用拴绳牵引或拴到栅栏。
僵尸感染与治愈
村民和警卫遵循原版难度下的僵尸感染规则。已登记居民感染后,会与对应僵尸村民唯一关联,避免重复复活。
- 关联僵尸因非玩家因素死亡,启动原居民复活倒计时。
- 玩家击杀关联僵尸,取消对应资格并释放名额。
- 治愈会取消待复活记录;感染前是警卫的,恢复警卫身份和装备。
没有关联记录的自然僵尸村民,不会凭空获得复活资格。
不会损耗耐久
村民、流浪商人和警卫的护甲与主手武器,使用不再消耗耐久,并覆盖已适配的模组武器路径。规则适用于生成装备和玩家提供的装备,但不会自动修复已有损伤。副手盾牌仍正常损耗耐久。
远程警卫不再自动配发副手盾牌。
刷怪蛋与兼容
- 原版村民刷怪蛋:生成的成年无业村民可随机获得 13 种原版职业、傻子或无业身份;随机职业暂时不会因没有工作站立刻失业,首次交易或认领工作站后解除保护。
- 警卫村民:警卫刷怪蛋支持随机群系外观。
- 村庄阵营:适配 Villager Mage、Millager、Iron’s Spells 等模组的指定实体或标签。
- Goety:适配部分囚犯、仆从、捕获与敌视机制,使徒无法再转化村民为他的仆从,流浪商人无法变成囚犯。
- 生物大乱斗高级刷怪蛋:非潜行左键记录类型后,支持随机村民职业和警卫外观。
- 召唤图腾与召唤图腾 Plus:适配对应召唤路径与职业池,支持的仅记录类型高级蛋生成警卫时随机皮肤。
其他的小调整
- 警卫外观兼容:箭袋仅在持弓或弩时显示;头部适配其他模组的头盔(如果不装该附属,只装警卫村民这个模组,警卫穿戴其他模组的头盔,会产生穿模)
- 掠夺者后撤:持弩掠夺者在敌人逼近时会后退,类似于猪灵。
- 索敌与开火距离分离:部分村庄友方单位拥有增强的观察距离,但发现敌人不代表立刻开火;实际攻击仍受武器射程、视线、目标合法性和区块加载限制。









