Village Militia 模组 — 功能指南与文档
状态: 活跃开发中
注意: 大量新功能、行为子程序和 AI 优化正在制作中。敬请期待后续更新!
快速上手
村民民兵刷怪蛋
- 位置: 位于原版刷怪蛋创造模式标签页的最末尾。
- 高效招募: 手持铁头盔对无职业的村民按住潜行(Shift)+ 右键即可激活民兵身份。
指令模式
手持绿宝石并对民兵成员按住**(Shift) + 右键**可切换以下模式。其脚边会出现独特的粒子效果,以即时显示当前激活的模式:
| 模式 | 视觉指示器 | 行为描述 |
|---|---|---|
| IDLE(空闲) | 自由漫游 | 自由徘徊;保持放松状态。 |
| FOLLOW(跟随) | END_ROD |
跟随并保护玩家。 |
| GUARD(守卫) | ENCHANT |
坚守阵地并守卫该地点。 |
| PATROL(巡逻) | GLOW |
在附近区域巡逻搜寻怪物。 |
骑兵与载具机制
- 骑兵上马条件: 如果马满足以下三个严格条件,民兵将自动骑乘该马匹:
- 目前没有乘客。
- 已经装备了鞍。
- 当前未被拴绳束缚。
- 强制下马指令: 如果民兵正在骑马,你可以使用空手对其按住潜行(Shift)+ 右键来命令其立即下马。
- 战术拴绳(部队运输): 一旦民兵上马,你可以给马拴上拴绳。这允许你同时拖动马和民兵,使长距离转移变得轻松自如!
装备自定义与军火库
- 确保民兵当前未处于战斗状态。
- 保持玩家双手为空。
- 不要按住
Shift键。 - 右键点击民兵。
装备菜单允许你管理民兵的护甲、主手物品和副手物品。
战斗 AI 与特殊交互
- 高级战斗 AI: 具备智能走位、方向性横移、战术撤退以及及时的盾牌格挡功能,让你的村民成为合格的战斗单位,而不是沙包。
- 村庄英雄: 当你带着村庄英雄效果靠近时,附近的民兵会向你敬礼!
村庄德鲁伊与支持机制
村庄德鲁伊刷怪蛋与招募
- 位置: 与民兵一起位于原版刷怪蛋创造模式标签页的最末尾。
- 金苹果转化: 手持金苹果(
Items.GOLDEN_APPLE)对无职业、成年的村民(profession: NONE)按住潜行(Shift)+ 右键,将其转化为村庄德鲁伊。
德鲁伊施法与 AI 行为
德鲁伊作为后排战斗法师,在动态走位的同时主动循环执行支援治疗、群体控制和进攻性法术:
| 法术类型 | 触发/目标 | 法术效果与视觉效果 |
|---|---|---|
| HEALING_LIGHT(治愈之光) | 低血量盟友 / 自身 | 恢复 5.0 点生命值,给予再生 I(4秒),并发射爱心/樱花粒子。 |
| THORN_BINDING(荆棘束缚) | 远程敌人 | 造成 4.0 点魔法伤害,施加缓慢 II(6秒),并释放孢子花粒子。 |
| ARCANE_RAY(奥术射线) | 远程敌人 | 发射高伤害光束(6.0 点魔法伤害),赋予发光效果(5秒),并发射紫水晶共振粒子。 |
| POISON_BLOOM(毒花绽放) | 远程敌人 | 造成 2.0 点魔法伤害,施加中毒 I(5秒)+ 缓慢 II(5秒),伴有绯红孢子粒子。 |
| NATURE_BURST(自然爆发) | 近身敌人 | 单体及 AOE 爆炸,造成魔法伤害并在 2.5 格范围内施加强力击退效果。 |
- 战术移动与风筝: 如果敌人在 7 格内逼近,德鲁伊会自动后退;如果目标超出 11 格,则拉近距离;在引导法术时会持续横向横移以规避 incoming 攻击。
- 施法圆环特效: 在德鲁伊引导法术期间,在其脚下渲染一个脉动的双环粒子魔法阵,并伴有主题粒子效果(
END_ROD、SPORE_BLOSSOM_AIR、CRIMSON_SPORE、CHERRY_LEAVES)。
Village Militia Mod — Feature Guide & Documentation
Status: Under Active Development
Note: Tons of new features, behavior subroutines, and AI optimizations are currently being worked on. Stay tuned for future updates!
Getting Started
Village Militia Spawn Egg
- Location: Located at the very end of the vanilla Spawn Eggs creative tab.
- Cost-Efficient Recruitment: Activating the militia via Sneak (Shift) + Right-Click with an Iron Helemt on an unemployed villager
Command Modes
Hold an Emerald and (Shift) + Right-Click with a militia member to switch between the following modes. A distinct particle effect will appear around their feet to show their active mode instantly:
| Mode | Visual Indicator | Behavior Description |
|---|---|---|
| IDLE | Free Roam | Wanders freely; stays relaxed. |
| FOLLOW | END_ROD |
Follows and protects the player. |
| GUARD | ENCHANT |
Holds ground and guards the spot. |
| PATROL | GLOW |
Patrols nearby area for monsters. |
Cavalry & Transport Mechanics
- Cavalry Mounting Conditions: A militia will automatically mount a horse if the horse meets three strict conditions:
- It has no current passengers.
- It is already saddled.
- It is not currently leashed.
- Forced Dismount Command: If a militia is currently riding a horse, you can order them to dismount instantly by Sneak (Shift) + Right-Clicking them with an empty hand.
- Tactical Leashing (Troop Transport): Once the militia is mounted, you can attach a lead to the horse. This allows you to drag both the horse and the militia together, making long-distance relocation a breeze!
Equipment Customization & Arsenal
- Make sure the militia is not currently in combat.
- Keep both of the player's hands empty.
- Do not hold
Shift. - Right-click the militia.
The equipment menu allows you to manage the militia's armor, main-hand item, and off-hand item.
Combat AI & Special Interactions
- Advanced Combat AI: Features smart positioning, directional strafing, tactical retreats, and timely shield-blocking to make your villagers viable combatants instead of punching bags.
- Hero of the Village: When you approach with the Hero of the Village effect, nearby militia will salute you!
Village Druid & Support Mechanics
Village Druid Spawn Egg & Recruitment
- Location: Located alongside the Militia at the very end of the vanilla Spawn Eggs creative tab.
- Golden Apple Transformation: Sneak (Shift) + Right-Click an unemployed, adult villager (
profession: NONE) while holding a Golden Apple (Items.GOLDEN_APPLE) to convert them into a Village Druid.
Druid Spellcasting & AI Behaviors
The Druid acts as a backline battle-mage, actively cycling between support healing, crowd control, and offensive spells while maintaining dynamic positioning:
| Spell Type | Trigger / Target | Spell Effects & Visuals |
|---|---|---|
| HEALING_LIGHT | Low HP Allies / Self | Restores 5.0 HP, grants Regeneration I (4s), and emits heart/cherry blossom particles. |
| THORN_BINDING | Ranged Enemies | Deals 4.0 magic damage, applies Slowness II (6s), and releases spore blossom particles. |
| ARCANE_RAY | Ranged Enemies | Fires a high-damage beam (6.0 magic damage), applies Glowing (5s), and emits amethyst resonance. |
| POISON_BLOOM | Ranged Enemies | Deals 2.0 magic damage, applies Poison I (5s) + Slowness II (5s) with crimson spore particles. |
| NATURE_BURST | Close Enemies | Single & AOE blast dealing magic damage and applying heavy knockback within 2.5 blocks. |
- Tactical Movement & Kiting: Druids automatically retreat if enemies close in within 7 blocks, close the distance if targets stray beyond 11 blocks, and continuously strafe sideways while channeling to evade incoming attacks.
- Casting Circle FX: Renders a pulsing two-ring particle magic circle at the Druid's feet during spell channeling with spell-themed particles (
END_ROD,SPORE_BLOSSOM_AIR,CRIMSON_SPORE,CHERRY_LEAVES).
下载 Village_Militia
下载 Village_Militia
下载 Village_Militia
下载 Village_Militia
下载 Village_Militia
下载 Village_Militia
下载 Village_Militia
新增 / 改进
-
扩展民兵装备槽位
- 民兵成员现在可以在主手或副手中持有任意非空物品。
- 手部槽位不再局限于武器、弩或盾牌。
- 民兵成员现在可以手持不朽图腾、食物、方块及其他物品。
-
装备菜单更新
- 更新了
MilitiaEquipmentMenu中的装备槽位验证逻辑。 - 主手和副手槽位现在接受任意非空的
ItemStack。 - 头盔、胸甲、护腿和靴子槽位保留原有的装备限制。
- 盾牌仍会触发正常的格挡和防御行为。
- 更新了
-
民兵目标切换
- 当民兵成员受到新攻击者的攻击时,现在会更新其目标。
- 使用受伤时间戳来检测新的攻击事件,并防止重复切换到同一目标。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
让你能够在世界中的任何位置定位结构。
模组
添加睡袋和吊床,分别用于便携性和昼夜转换,同时不会设置新的出生点。共有16种颜色可选!
评论 0
登录后参与评分
还没有评论,来抢沙发吧