Liberty's Villagers
你是某个村庄的村长吗?你是否厌倦了村民在夜幕降临时找不到床,或者在清晨忘记自己的工作台?你是否见过太多村民因为反复跳下楼梯而受伤甚至死亡?那么,Liberty's Villagers 就是来帮你的!
Liberty's Villagers 是一款适用于 Forge 和 Fabric 的模组,它改进了 AI 逻辑,并允许村长(也就是你)自定义村民的行为,从而为村民提供更好的体验!
加入 Discord 获取支持!
功能:
通用设置
- 调整村民寻找兴趣点(POI)的范围(对于垂直或大型城市非常有用)
- 调整村民前往兴趣点的最大旅行时间
- 调整村民使用兴趣点所需靠近的距离
- 可选 - 村民醒来时恢复生命值(类似基岩版机制)
- 可选 - 优先让村民避开仙人掌、水流、铁轨、陷阱门和细雪。
- 可选 - 修复村民在墙壁/栅栏附近“卡住”的路径寻路问题
- 可选 - 防止村民攀爬梯子和藤蔓(它们不知道如何爬下来,可怜的小家伙们)
- 调整村民认为从高处跳下属于“安全”距离的标准
- 可选 - 村民可以食用西瓜片和南瓜派作为食物
- 可选 - 防止村民繁殖(当你有无法通行的床导致人口激增时使用)
- 可选 - 要求村民决定生育时必须有一个空闲的工作台
- 可选 - 防止村民踩踏农作物
- 可选 - 阻止村民在深夜寻找工作台和聚会地点
- 可选 - 没有笨拙村民(Nitwit)
- 可选 - 所有村民都是笨拙村民
- 可选 - 所有村民都是婴儿
- 可选 - 婴儿永远不会长大
- 可选 - 配置婴儿村民长大的所需时间
村民职业
- 可选 - 盔甲匠在工作时间内寻找并治疗铁傀儡
- 可选 - 牧师在工作时间内寻找并治疗村民和玩家
- 调整农民在 X/Z 轴和 Y 轴上寻找农作物的范围。
- 可选 - 农民更倾向于种植刚刚收获的同种作物
- 可选 - 农民可以种植和收割西瓜和/或南瓜
铁傀儡
- 可选 - 铁傀儡会避开仙人掌、水流、铁轨、陷阱门和细雪
- 可选 - 铁傀儡不会攻击玩家
- 可选 - 防止村民召唤铁傀儡(当出现铁傀儡过剩问题时使用)
- 可选 - 指定半径内可生成的铁傀儡数量
猫
- 可选 - 指定半径内可生成的猫的数量
调试
- Villagerstats 命令:以易于阅读的书籍格式提供城镇中村民的总数、职业分布、无家可归者数量、铁傀儡数量、猫的数量及类型,以及可用空床数量的汇总信息。
- Villagerinfo 命令:显示当前面前村民的汇总信息——包括其床的位置、工作台位置、集会地点,以及其物品栏中持有的物品。若注视某个兴趣点(如工作场所、床或钟),该命令会告知您该兴趣点是否已被某位村民认领。
- VillagerSetPOI 命令:允许您切换某个方块(如床、工作台或钟)是否为有效的兴趣点,从而防止装饰性方块被误认为工作场所,并保留您自己的床供夜间睡眠使用。
- Villager Info 叠加层:适用于单人游戏和集成服务器。当您环顾四周时,可实时查看 Villagerinfo 更新的数据,便于在村民集会期间快速进行调试。
截图(仅在使用 Fabric 平台的 Mod Menu 时提供用户界面,所有选项均可在 config.json 配置文件中自定义)

Villager Stats Book 在 Forge 和 Fabric 上均可用

NeoForge 和 Fabric 所需的依赖项
Cloth Config
Fabric 独有的可选依赖项
如果您想在专用服务器上运行此模组,则需要安装 "Server Translation API" 1.4.17 或更高版本。
要在客户端编辑模组的选项,您需要安装 "Mod Menu" 模组。
鸣谢
gitsh01 制作了这款优秀的模组,我正在对其进行移植和维护
感谢 SuperSaiyanSubtlety's Enchantment Lore fabic modSuperSaiyanSubtlety的Enchantment Lore 在 MIT 许可证 下编写代码,以实现在服务器上打开书籍界面。
感谢 kressety 提供的简体中文翻译。
如果您想支持我以及我的模组开发,我推荐尝试使用 BisectHosting。新用户可使用代码 "project8gbderam" 获得首月游戏服务器 25% 的折扣。他们提供全天候支持和极速响应时间,确保您得到良好的服务,并为您的所有游戏需求提供卓越的协助。

Liberty's Villagers
Are you the mayor of a village? Are you tired of your villagers failing to find their beds at nightfall, or forgetting their workstations in the morning? Have you seen one too many villager die from jumping off stairs and injuring themselves over and over? Well, Liberty's Villagers is here to help!
Liberty's Villagers is a forge and fabric mod that improves the logic and allows the mayor (you) to modify villager behavior to provide a better experience for your villagers!
Support on Discord !
Features:
General
- Adjust the range which villagers will find Points Of Interest (useful for vertical or large cities)
- Adjust how long a villager will travel to Points of Interest
- Adjust how close a villager needs to get to use a Point of Interest
- Optional - Heal Villagers when they wake up (like Bedrock)
- Optional - Prioritize villagers avoiding cactus, water, rails, trapdoors, and powdered snow.
- Optional - Pathfinding fix for villagers becoming "stuck" near walls/fences
- Optional - Prevent villagers from climbing up ladders and vines (they don't know how to climb back down, poor dears)
- Adjust the distance villagers will consider "safe" for jumping down from ledges
- Optional - Villagers can consume melon slices and pumpkin pie for food
- Optional - Prevent villagers from breeding (for when you've got a bed that isn't pathable that is causing a population boom)
- Optional - Require a free workstation when Villagers decide to have a baby
- Optional - Prevent villagers from trampling crops
- Optional - Stop villagers from seeking workstations and meeting points in the middle of the night
- Optional - No nitwit villagers
- Optional - Every villager is a nitwit
- Optional - Every villager is a baby
- Optional - Babies never grow up
- Optional - Configure the time it takes for a baby villager to grow up
Villager Professions
- Optional - Armorers seek out and heal Iron Golems during work hours
- Optional - Clerics seek out and heal Villagers and Players during work hours
- Adjust how far farmers will look for crops in x/z and y planes.
- Optional - Farmers prefer to plant the same type of crop they just harvested
- Optional - Farmers can plant and harvest melons and/or pumpkins
Golems
- Optional - Golems avoid cactus, water, rails, trapdoors, and powdered snow
- Optional - Golems don't attack players
- Optional - Prevent Villagers from summoning Golems (for when there's a Golem overpopulation problem)
- Optional - Choose how many golems can spawn in a specified radius
Cats
- Optional - Choose how many cats can spawn in a specified radius
- Optional - Cats don't despawn
- Optional - Black cats can spawn at any time (not just during a full moon)
- Optional - Every cat is a black cat (as ordered by my cat)
Debug
- Villagerstats command which gives you a summary how how many Villagers are in your town and what their occupations are, how many are homeless, number of golems, number and types of cats, and how many open beds are available, in an easy-to-read book format.
- Villagerinfo command which tells you a summary of a Villager standing before you - where there bed is, where their workstation is, where their meeting place is, and what they are holding in their inventory. If looking at a Point of Interest (such as a workplace, bed, or bell), it will tell you whether that POI is claimed by a Villager.
- VillagerSetPOI command which lets you toggle whether a block (such as a bed, workplace, or bell) is a valid Point Of Interest or not, so you can disable decorative blocks from being considered a workplace, and reserve your own bed to sleep in at night.
- Villager Info overlay - for single player and integrated servers, you can see the data from Villagerinfo update as you look around, useful for quick debugging during the Villager's meeting times.
Screenshots (UI is available when used with Mod Menu on Fabric only, all options can be configured in the config json)

Villager Stats Book is available on both Forge and Fabric

NeoForge and Fabric Required Dependencies
Cloth Config
Fabric Only Optional Dependencies
If you want to run this on a dedicated server, you will need the "Server Translation API" version 1.4.17 or higher.
To edit the mod's options on the client, you will need to the "Mod Menu" mod.
Credits
gitsh01 for this goated mod, which i'm porting and maintaining
Thanks to SuperSaiyanSubtlety's Enchantment Lore fabic modSuperSaiyanSubtlety's Enchantment Lore for writing code under the MIT license for opening the book UI on the server.
Thanks to kressety for the Simplified Chinese translations.
If you'd like to support me and the development of my mods, I recommend trying out BisectHosting. Use code "project8gbderam" to get 25% off your first month of a gaming server for new customers. They offer 24/7 support and lightning-fast response times, ensuring you're in great hands and providing exceptional assistance for all your gaming needs.

下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Liberty’s Villagers Revived
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
为委托模组添加了兼容性,但这对其他用户没有任何影响
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧