Village Life Plus
更聪明的村民和铁傀儡——自动重新繁殖、智能寻路、个人空间,以及真正能保护村民的战斗 AI。
功能特性
铁傀儡 AI
- 自定义铁傀儡,拥有 1000 点生命值及智能 A* 寻路算法
- 4 种行为状态:空闲巡逻、攻击、保护村民、返回村庄
- 铁傀儡会主动扫描敌对生物并优先处理威胁
- 村民被攻击时会呼救——最近的铁傀儡会响应
- 每个铁傀儡头顶都会显示一个随机生成的名字
村民改进
- 个人空间——村民保持可配置的最小距离
- 栅栏门导航——村民可以打开并穿过栅栏门
- 村民通过后智能关闭栅栏/门
- 压力板规避(可配置)
- 自我治疗——村民拾取食物并进食以恢复生命
- 9 格背包用于个人食物存储
村庄可持续性
- 当村庄人口低于 2 人时自动重新繁殖
- 紧急模式防止村庄在人口为 0 时被删除
- 兼容原版村庄、模组村庄以及玩家创建的村庄
村民交易 GUI
- 完整的交易界面,显示村民名字
- 通过箭头导航切换配方
- Shift+点击可在交易槽和背包之间移动物品
- 实时缺货检测
- 只读的村民库存显示
要求
- 需在客户端和服务端同时安装以实现全部功能
支持
所有更新都将发布在我的 Ko-fi 上。此处的版本可能已过时! 希望看到本模组更新或有功能建议?请在 Ko-fi 支持该项目。
发现 Bug?请将问题报告至 iammojogo@outlook.com。
许可证
MIT 许可证——可免费使用、修改和再分发。
开发者: iammojogo
Village Life Plus
Smarter villagers and iron golems — auto-repopulation, intelligent pathfinding, personal space, and combat AI that actually protects villagers.
Features
Golem AI
- Custom Iron Golem with 1000 HP and intelligent A* pathfinding
- 4-state behavior: Idle patrol, Attack, Defend villagers, Return to village
- Golems actively scan for hostiles and prioritize threats
- Villagers call for help when attacked — closest golem responds
- Each golem receives a random name displayed above its head
Villager Improvements
- Personal space — villagers maintain configurable minimum distance
- Fence gate navigation — villagers can open and walk through gates
- Smart gate/door closing after villagers pass through
- Pressure plate avoidance (configurable)
- Self-healing — villagers pick up food and eat to heal
- 9-slot inventory for personal food storage
Village Sustainability
- Auto-repopulation when village drops below 2 villagers
- Emergency mode prevents village deletion at population 0
- Works with vanilla villages, mod villages, and player-created villages
Villager Trade GUI
- Full trade interface with villager name display
- Recipe cycling with arrow navigation
- Shift-click to move items between trade slots and inventory
- Real-time out-of-stock detection
- Read-only villager inventory display
Requirements
- Install on both client and server for full functionality
Support
ALL UPDATES WILL BE ON MY KOFI. VERSIONS HERE MIGHT BE OUTDATED! Want to see this mod updated or have a feature request? Support the project on Ko-fi.
Found a bug? Report issues to iammojogo@outlook.com.
License
MIT License — Free to use, modify, and redistribute.
Developer: iammojogo
下载 iammojogo's Village Life Plus
下载 iammojogo's Village Life Plus
下载 iammojogo's Village Life Plus
下载 iammojogo's Village Life Plus
下载 iammojogo's Village Life Plus
下载 iammojogo's Village Life Plus
下载 iammojogo's Village Life Plus
下载 iammojogo's Village Life Plus
交易界面全面优化
- 重新设计了村民交易界面的布局,采用9行结构
- 在交易区域添加了带有数量覆盖层的成本物品图标
- 添加了可滚动的详情面板,用于显示输出物品的工具提示文本
- 为详情面板添加了垂直滚动条(当文本超过3行时可见)
- 鼠标滚轮可在详情面板上滚动
- 支持点击滚动条跳转
- 物品名称悬停工具提示跟随鼠标光标移动
- 按住 Shift 键可在交易输入槽和玩家背包之间切换物品
- 交易按钮现在显示三种状态:绿色“交易”、灰色“交易”(物品错误)、红色“缺货”
- 只读显示的村民库存,展示村民存储的食物物品
缺货同步
- 每次交易完成后立即正确检测耗尽状态
- 不再出现单次会话中无限交易的情况
错误修复
- 修复了不关闭/重新打开界面时交易按钮无法反映缺货状态的问题
- 修复了在交易间切换时交易循环索引损坏的问题
- 现在可以访问所有村民交易(无隐藏/排除的配方)
- 关闭界面时,交易输入槽中的物品会正确返回到玩家背包
细节打磨
- 改善了 GUI 各部分之间的间距(“村民库存”和“库存”标签)
- 修复了悬停文本中过滤物品 ID 工具提示的问题
- 加宽了交易按钮宽度以容纳“缺货”文本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
让你能够在世界中的任何位置定位结构。
评论 0
登录后参与评分
还没有评论,来抢沙发吧