Knight Guards
English | 中文
English
Knight Guards adds five recruitable knights and a command banner that defines their patrol area. The knights autonomously protect the area around the banner from hostile mobs.
What the mod does
- Adds the Command Banner block. When placed, it emits a visible particle circle (radius 30 blocks) and serves as the center of a guarded zone.
- Adds five knight types, each spawned via its own spawn egg:
- White Knight — Stone sword (Sharpness V), no armor.
- Gray Knight — Iron sword (Sharpness V), invisible iron armor.
- Black Knight — Netherite sword (Sharpness V), invisible netherite armor.
- Heavy Axe Guard — Dual netherite axes (Sharpness X), invisible Protection V & Thorns V netherite armor, knockback immunity.
- Temple Knight — Netherite sword (Sharpness XV), invisible Protection IV netherite armor, knockback immunity, fastest attack speed.
- All knights share the following behavior:
- They patrol within 30 blocks of a command banner and attack hostile mobs within 40 blocks.
- They can detect mobs through walls.
- They prioritize mobs that are attacking a player.
- If a knight strays too far from its banner, it returns after 3 seconds.
- Without a banner, a knight stands still.
- Knights do not attack players, even if attacked.
- Knights are immune to potion effects and regain health over time.
- Only one knight of each type can exist at a time.
- A command
/knight_guards get banner_pos <type> shows the banner coordinates of a given knight type, and /knight_guards get target <type> shows its current target.
- Spawn eggs are crafted via shaped recipes involving iron, gold, diamonds, netherite, and other materials. Recipes are automatically unlocked when joining a world.
Why use this mod
It provides a customizable, autonomous defense system for bases or villages. The knights follow clear rules and stay within a defined area, making them predictable guards. The mod is purely a quality‑of‑life addition and does not alter vanilla gameplay balance beyond adding new defensive options.
Important notes
- The command banner requires an iron sword and a beacon to craft, making it a mid‑to‑late‑game block.
- Knight spawn eggs are consumed upon use and have shaped crafting recipes that scale in cost.
- The flame particle circle can be disabled individually via the mod’s client config (
showBannerParticles).
- Hostile mobs treat knights as valid targets with the same priority as players (distance‑based).
- Knights cannot leave their banner’s 40‑block chase range, and they ignore mobs farther than 10 blocks above or below them to avoid getting stuck on unreachable enemies.
中文
骑士保镖模组添加了五名可招募的骑士和一个界定巡逻范围的指挥旗。骑士会在旗帜周围自动守护区域,攻击敌对生物。
模组功能
- 添加了 驻扎中心(指挥旗)方块。放置后会在半径 30 格处显示火焰粒子圆环,作为守卫区域中心。
- 添加了 五种骑士,各通过刷怪蛋生成:
- 白骑士 — 石剑(锋利 V),无盔甲。
- 灰骑士 — 铁剑(锋利 V),隐藏铁甲。
- 黑骑士 — 下界合金剑(锋利 V),隐藏下界合金甲。
- 重斧禁卫 — 双持下界合金斧(锋利 X),隐藏保护 V + 荆棘 V 下界合金甲,击退免疫。
- 圣殿骑士 — 下界合金剑(锋利 XV),隐藏保护 IV 下界合金甲,击退免疫,攻击速度最快。
- 所有骑士共享以下行为:
- 在指挥旗 30 格内巡逻,攻击 40 格内的敌对生物。
- 可以隔墙探测目标。
- 优先攻击正在攻击玩家的怪物。
- 若离开旗帜过远,3 秒后强制返回。
- 无旗帜时原地静止。
- 不攻击玩家,即使被玩家攻击也不反击。
- 免疫药水效果,随时间恢复生命。
- 每种骑士同时只能存在一只。
- 提供指令
/knight_guards get banner_pos <类型> 查询指定骑士的驻扎中心坐标,/knight_guards get target <类型> 查询其当前目标。
- 刷怪蛋通过有序合成获得,配方涉及铁、金、钻石、下界合金等材料。进入世界时自动解锁配方。
使用理由
它为基地或村庄提供了一个可配置的自动化防御系统。骑士行为规则明确,不会离开划定区域,是可靠的守卫。模组仅为便利性添加,不会影响游戏整体平衡。
下载前须知
- 指挥旗需要铁剑和信标合成,属于中后期方块。
- 骑士刷怪蛋为一次性消耗品,合成配方成本递增。
- 火焰粒子圆环可在模组客户端配置(
showBannerParticles)中单独关闭。
- 敌对生物将骑士视为与玩家同优先级的目标(基于距离选择攻击)。
- 骑士不会追出指挥旗 40 格范围,且会忽略垂直距离超过 10 格的目标,以避免被不可达怪物卡住。