原版村民给你的信息并不多。他们工作、睡觉,对着墙发呆一会儿,然后发出“嗯哼”的声音。我制作 Sapience 是因为我希望同样的村民能让人感觉他们的面孔背后有着真实的生活。
每个村民都有名字、性格、情绪、需求、人际关系以及对真实发生之事的记忆。在他们饥饿时喂食,他们会记得谁帮助了自己;伤害他们,这份记忆也会留存。如果其他村民目睹了这一切,这个故事或许会传播开来。
对我来说重要的是,他们的行为是有原因的。他们不会为了制造戏剧性而随机掷骰决定行为。他们的选择源于他们所知的、所需求的、所感受的以及他们正在打交道的人。在一个村民身边待得足够久,你就能开始理解他们。
测试期间的一个傍晚,我看到一个村民穿过广场,站在一个悲伤的邻居身旁,并在那里停留了一段时间。我曾将“悲伤”和“社交拜访”编写为独立的规则。那个晚上,这些规则自行交汇了。那一刻对我而言就是整个模组的全部意义。
Fabric | Minecraft 1.21.1 | 需要 Fabric API | Java 21 | 安装在服务器和每个客户端上
Sapience 仍处于测试阶段。在安装或更新前,请备份你珍视的任何世界。
你会立刻看到的变化
村民 变成了 Mira Highmeadow、Aldric Stonebrook 或其他在重新加载后仍属于该人物的名字。某些突出的人物也可能获得称号。
- 他们的名字颜色、姿态、目光和简短的对话语句能让你了解他们当下的状态。
- 农民会耕种和补种。伐木工会砍完树木。矿工会选择真实的矿点。当村庄真正需要时,建筑工会建造房屋、农田和共享储物设施。
- 当你问候他们、帮助他们、给予他们物品、惊吓他们或伤害他们时,他们会做出反应。
- 夜晚他们会寻找床铺和庇护所。被困在室外的村民在危险临近时会醒来,村庄会尝试照亮不安全的区域。
- 朋友会花时间在一起。敌人保持距离。悲伤的村民可能会收到关心他们的人的安静拜访。
一项重要变更: 右键点击不再打开原版的交易界面,而是改为问候村民。手持物品时潜行可以将其作为礼物提供。村民之间可以进行以物易物,但玩家交易功能尚未就绪。
村民实际上在做什么
工作与日常生活
村民会耕种、采矿、伐木、收集材料、制作物品、分享物资、建造和修复损坏。他们在持续从事的工作中不断提升技能。职业使用“领地”机制,因此一整群村民不会争夺相同的作物、树木、箱子或方块。
建筑工人在开工前会检查地面和可用材料。房屋适应地形,而不是漂浮在泥土柱子上,且建成的建筑拥有可用的内部空间、门、床和光源。当定居点拥有足够的基本住房、食物和储物空间时,建设就会停止。村庄不会继续在你的世界中堆砌毫无意义的建筑。
夜晚,人们会寻找真正的床铺和庇护所。无法到达这两者的人可能会定居在村庄中心附近,而不是永远游荡。露天睡觉的人是浅眠者。附近的敌对生物会把他们唤醒。
工作背后的思想
每个村民都基于大五人格特质拥有持久的性格。这种气质影响勇气、好奇心、社交能力、耐心以及情感反应方式。他们还会追踪饥饿、休息、安全、陪伴、舒适、目标、压力、士气以及更持久的情绪。
记忆是有限的并与真实事件相关联。村民会记住重要的人、地点、伤害、善意、损失、危险和未完成的工作。成功的选择可以在未来带来一点自信,但当前的证据总是比旧习惯更重要。
他们的对话也遵循同样的规则。村民可以谈论实际占据他们脑海的工作、危险、人物、需求或记忆。他们不会虚构从未存在过的婚礼、死亡、友谊或一堆食物。
家庭、悲伤与历史
村民会结交朋友、对手和敌人。他们会求爱、结婚并抚养孩子。孩子继承了父母双方稳定的气质混合,并获得来自家庭技能的少量起步优势。孩子依然是独立的个体。
悲伤是持久的。村民会以名字铭记逝者,并安慰他们真正关心的人。在一次真实的拜访后,丧亲者会得到一些安宁,而不是引来令人厌烦的访客队列。
在已建立的定居点中,如果启用了地形变化且存在安全地点,当地的死亡可以建立墓地。随后若有空间,后来的坟墓会填满其行列。墓志铭来源于这个人实际度过的生活。
村庄编年史记录出生、婚姻、死亡、选举、政变和其他转折点。它成为该定居点的历史,而不是一系列随机的背景文本列表。
自我组织的村庄
一旦足够多的村民准备好参与,定居点就会选举出领袖和议会。政治压力最终可能演变成一场无声的政变阴谋。守卫会巡逻、训练、装备自己,并在村庄受到威胁时作出回应。
社区传统只有在有理由的情况下才会发生。一次死亡可能导致哀悼。一次真实的丰收盈余可能导致聚会。求爱、悲伤、墓地拜访和政变阴谋被允许花费时间。它们不会因为玩家等待了十分钟就被强行触发。
危险与防御
勇敢的村民可能会站在朋友身边。但当战斗明显失利时,同一位村民仍然会撤退。人们会呼救,对附近的威胁作出反应,使用可见的工具和盔甲,并试图前往更安全的地带。
战斗体验保持 Minecraft 原生的纯净风格,无任何血腥画面。对玩家的普通反击默认处于禁用状态。唯一的例外是确认的村民杀手:一次击杀可能导致非致命的驱逐,而在村庄记忆范围内重复击杀则会触发致命防御。村民之间的致命世仇同样默认禁用。
模组通过支持的原版转换机制来追踪身份。僵尸转化功能默认被阻止。如果你启用了它,一个被标记的僵尸村民在被治愈后可以恢复其原本的意识。因闪电而变化的村民会保留其名字、选定的信任关系,并作为女巫在其定居点中被接纳。自然生成的僵尸和女巫永远不会继承他人的生命。
村民如何记住你
每种观点都归属于特定的玩家。在服务器上,你的朋友拥有独立的声誉,无论你对你的村民朋友做了什么,都不会影响他的清白声誉。
村民会记得礼物、攻击、道歉和帮助。长期缺席后,关系会逐渐疏远,但只要你离开渲染距离,它们不会立即重置。目击者可以传播流言,尽管流言并不会让整个村庄瞬间知晓所有事情。
远离足够长的时间后,曾经与你亲近的村民可能会注意到你的回归,走过来并欢迎你的归来。在好奇的村民附近建造物品,他们可能会在空闲时进行视察。如果有人拒绝道歉或邀请,他们会明显地摇头,因此在对话行消失之前就能读懂答案。
跟随功能是可选的,且默认禁用。启用后,一位受信任的村民可能会同意陪你走一段时间,然后在感到满足后回家。
本模组中“AI”的含义
已发布的模组内没有 ChatGPT 或其他语言模型。无需 API 密钥、账户、云服务、生成式对话服务或外部遥测数据。可选的诊断功能仅在本地运行,且默认禁用。关于你村庄的任何信息都不会被发送出去。
核心逻辑是普通的本地 Java 游戏逻辑。村民读取附近的地图状态和记忆中的事实,更新其需求和情感,权衡可用的目标,并决定执行一项行动。随后,他们会记住该行动的结果。
行为决策不使用随机性。如果给予大脑相同的存档状态和相同的观察输入,它将做出相同的选择。当然,整个 Minecraft 世界永远不会逐帧重播。玩家、原版物理引擎、实体碰撞、刻序和其他模组都可能改变村民周围的环境。
我选择这种方法是因为我希望每一个重要行动都有迹可循。如果有人对你怀恨在心,你应该能够找到你结下梁子的那一天。
性能与距离
附近的村民会进行最详细的思考。默认情况下,这个活跃范围是从最近玩家起算的 48 个方块。在 48 到 96 个方块范围内加载的村民会以较低频率的空间计算维持其生活运转。更远的位置,Minecraft 仍保持加载状态的实体仅执行低成本的生命维持和内部状态更新。
Sapience 绝不会自行加载区块。Minecraft 自身的区块 ticking 规则仍然是上限。
在确切的 beta.354 发布版本中,固定 packed-80 测试在 Minecraft 50 ms 的刻预算下测得 平均 6.7 ms,第 99 百分位为 8.6 ms,最慢样本为 9.8 ms。单独的 250 名村民压力测试保持了 250 名村民全部存活,峰值达到 31 ms。这 250 名村民的运行是一个稳定性测试,而非推荐的正常村庄规模,结果仍会因硬件和整合包而异。
命令、设置与兼容性
控制与命令
- 右键点击: 向村民打招呼。
- 手持物品时潜行: 将其作为礼物赠送。
- 空手时潜行: 当启用跟随功能时,请求受信任的村民陪同你。
/villager: 查看最近村民的性格、情绪、当前目标、技能、家庭和对你看法。
/sapience stats: 查看定居点人口、领导层、议会和防御状态。
/sapience version: 检查已安装的构建版本。
/sapience reload: 无需重启即可重新加载配置。这需要操作者权限等级 2。
模组首次运行时会在 config/sapience.json 创建配置文件。你可以调整或禁用建筑、地形变化、采集、战斗、婚姻、儿童、传统、政治、军事行为、命名、对话、手持物品、盔甲、模拟距离和性能模式。
跟随功能、普通玩家反击和致命世仇默认禁用。如果你不希望村民放置或破坏方块,请关闭 allowTerrainModification。
兼容性与世界安全
- 此构建版本支持 Minecraft 1.21.1 上的 Fabric,需搭配相应的 Fabric API。
- 在服务器和每个加入的客户端上安装相同的 Sapience jar 和 Fabric API。
- 替换村民行为、交易、装备、手持物品渲染或村民模型的模组可能会发生冲突。请测试你计划使用的确切整合包。
- 模组读取普通的床、方块、实体和兴趣点(POI)。它不替换 POI 数据、工作站、世界生成、维度、网络、傀儡生成或通用傀儡 AI。有一条狭窄的规则禁止傀儡攻击被村庄认可的变形女巫,直到真正的背叛撤销这种认可。
- 地形工作检查包括射程、材料、已知结构、方块实体、水、掉落物以及附近的受保护单元格。普通的 Minecraft 方块并不能可靠地记录是谁放置了它们,因此模组无法识别每个玩家放置的原木或石头。如果你的世界中这一点很重要,请禁用地形变化。
- NeoForge、Sinytra Connector、Minecraft 1.20.1 以及未列出的 1.21.x 版本不受此构建版本支持。
该模组为闭源软件,保留所有权利。您可以下载并游玩官方构建版本,制作视频、直播、截图、评测和文字报道。整合包可以包含未经修改的官方 jar 文件,但需清晰标注来源并提供指向官方下载页面的链接。完整条款请参阅随附的许可证。
开始使用
- 为 Minecraft 1.21.1 安装 Fabric Loader。
- 安装对应的 Fabric API。
- 将 Sapience Fabric 1.21.1 jar 放入服务器的
mods 文件夹以及每位加入客户端的 mods 文件夹中。
- 备份世界,启动游戏,然后寻找一个村庄。
- 观察十分钟。与人打招呼,赠送礼物,并在您想了解某人行为动机时使用
/villager 命令。
Sapience 可免费下载和游玩。我利用业余时间开发此模组,并且会阅读玩家反馈。早期玩家已经帮助我发现并修复了一些实际问题。如果您遇到有趣、奇怪、搞笑或出问题的情况,请通过 Discord发送给我。
Vanilla villagers do not give you much to know. They work, sleep, stare at a wall for a while, and go "hrmm." I made Sapience because I wanted the same villagers to feel like they had an actual life behind their face.
Every villager gets a name, a personality, moods, needs, relationships, and a memory of things that really happened. Feed somebody when they are hungry and they remember who helped. Hurt them and that sticks too. If another villager saw it, the story may travel.
What matters to me is that their behavior has a reason. They do not roll behavioral dice just to create drama. Their choices come from what they know, what they need, how they feel, and who they are dealing with. Spend enough time around one villager and you can start to understand them.
One evening during testing, I watched a villager cross the square, stand beside a grieving neighbor, and stay there for a while. I had written grief and social visits as separate rules. That evening the rules met on their own. That moment is the whole mod to me.
Fabric | Minecraft 1.21.1 | Fabric API required | Java 21 | Install on the server and every client
Sapience is still a beta. Back up any world you care about before installing or updating it.
What you will see right away
Villager becomes Mira Highmeadow, Aldric Stonebrook, or another name that stays with that person after reloads. Somebody who stands out may earn a title too.
- Their name color, posture, gaze, and short speech lines give you a read on what is going on with them.
- Farmers farm and replant. Woodcutters finish trees. Miners choose a real site. Builders put up homes, farms, and shared storage when the village actually needs them.
- They react when you greet them, help them, give them something, frighten them, or hurt them.
- They look for beds and shelter at night. Villagers caught outside wake when danger gets close, and the village tries to light unsafe ground.
- Friends spend time together. Enemies keep their distance. Grieving villagers may receive a quiet visit from somebody who cares about them.
One important change: right-click no longer opens the vanilla trade screen. It greets the villager instead. Sneak while holding an item to offer it as a gift. Villagers barter among themselves, but player trading is not ready yet.
What villagers actually do
Work and everyday life
Villagers farm, mine, cut wood, gather materials, craft, share supplies, build, and repair damage. They improve at the work they keep doing. Jobs use claims, so a whole crowd does not fight over the same crop, tree, chest, or block.
Builders check the ground and available materials before starting. Houses fit the terrain instead of floating on dirt pillars, and finished buildings have usable interiors, doors, beds, and light. Construction stops when the settlement has enough essential homes, food, and storage. The village does not keep covering your world in pointless buildings.
At night, people look for a real bed and shelter. Somebody who cannot reach either may settle near the village center instead of wandering forever. Open-ground sleepers are light sleepers. A nearby hostile gets them back on their feet.
A mind behind the work
Every villager has a lasting personality based on the Big Five traits. That temperament affects courage, curiosity, sociability, patience, and the way they react emotionally. They also track hunger, rest, safety, company, comfort, purpose, stress, morale, and longer-lived moods.
Memories are bounded and tied to real events. Villagers remember important people, places, injuries, kindness, loss, danger, and unfinished work. Successful choices can earn a little more confidence later, but current evidence always matters more than an old habit.
Their speech follows the same rule. A villager can talk about the job, danger, person, need, or memory that is actually on their mind. They do not invent a wedding, death, friendship, or pile of food that never existed.
Families, grief, and history
Villagers make friends, rivals, and enemies. They court, marry, and raise children. A child inherits a stable blend of both parents' temperament, along with a small head start from family skills. The child remains their own person.
Grief lasts. Villagers remember the dead by name and comfort people they genuinely care about. After a real visit, the bereaved get some peace instead of attracting an annoying queue of visitors.
In an established settlement, a local death can found a graveyard when terrain changes are enabled and a safe site exists. Later graves fill its rows when space allows. Their epitaphs come from the life that person actually lived.
The village Chronicle records births, marriages, deaths, elections, coups, and other turning points. It becomes a history of that settlement instead of a list of random flavor text.
A village that organizes itself
Once enough villagers are ready to take part, the settlement elects a leader and council. Political pressure can eventually grow into a bloodless coup plot. Guards patrol, train, equip themselves, and respond when the village is threatened.
Community traditions only happen after something gives them a reason. A death can lead to mourning. A genuine harvest surplus can lead to a gathering. Courtship, grief, grave visits, and coup plots are allowed to take time. They are not fired on cue because the player has been waiting ten minutes.
Danger and defense
A brave villager may stand beside a friend. The same villager still retreats when a fight is clearly lost. People call for help, react to nearby threats, use visible tools and armor, and try to reach safer ground.
Combat stays Minecraft-clean with no gore. Ordinary retaliation against players starts disabled. A confirmed villager-killer is the exception: one killing can bring a non-lethal expulsion, while repeated killing within the village's memory can trigger lethal defense. Lethal villager-on-villager feuds also start disabled.
The mod keeps track of identity through supported vanilla transformations. Zombie conversion is prevented by default. If you enable it, a marked zombie villager can recover their original mind when cured. A villager changed by lightning keeps their name, selected trusted bonds, and acceptance in their settlement as a witch. Naturally spawned zombies and witches never inherit somebody else's life.
How villagers remember you
Every opinion belongs to a specific player. On a server, your friend's clean reputation survives whatever you did to yours.
Villagers remember gifts, attacks, apologies, and help. Relationships slowly drift after a long absence, but they do not reset the moment you leave render distance. Witnesses can gossip, although gossip does not make the whole village instantly know everything.
Stay away long enough and a villager who became close to you may notice your return, walk over, and welcome you back. Build something near a curious villager and they may inspect it during free time. If somebody refuses an apology or invitation, they visibly shake their head, so the answer is readable before the speech line disappears.
Following is optional and starts disabled. When enabled, a trusted villager may agree to walk with you for a while, then head home when they have had enough.
What "AI" means in this mod
There is no ChatGPT or other language model inside the released mod. No API key, account, cloud service, generated-dialogue service, or external telemetry. Optional diagnostics stay on your machine and start disabled. Nothing about your village gets sent away.
The brain is ordinary local Java game logic. A villager reads nearby world state and remembered facts, updates their needs and feelings, weighs the goals available to them, and commits to one action. Later, they remember how that action went.
Behavioral decisions do not use randomness. Give the brain the same saved state and the same observed inputs and it resolves the same choice. A whole Minecraft world will never replay frame for frame, of course. Players, vanilla physics, entity collisions, tick order, and other mods can change the situation around the villager.
I chose this method because I want every important action to have a trail behind it. If somebody holds a grudge, you should be able to find the day you earned it.
Performance and distance
Nearby villagers do the most detailed thinking. By default, that active range is 48 blocks from the nearest player. Loaded villagers from 48 to 96 blocks keep their lives moving with less frequent spatial work. Farther away, an entity that Minecraft still keeps loaded runs only inexpensive survival and internal-state updates.
Sapience never loads chunks by itself. Minecraft's own chunk-ticking rules remain the outer limit.
On the exact beta.354 release build, the fixed packed-80 test measured 6.7 ms average, 8.6 ms at the 99th percentile, and 9.8 ms at the slowest sample, under Minecraft's 50 ms tick budget. The separate 250-villager abuse test kept 250 out of 250 villagers and reached a 31 ms peak. That 250-villager run is a stability test, not a recommended normal village size, and results still vary by hardware and modpack.
Commands, settings, and compatibility
Controls and commands
- Right-click: greet a villager.
- Sneak while holding an item: offer it as a gift.
- Sneak with an empty hand: ask a trusted villager to accompany you when following is enabled.
/villager: read the nearest villager's personality, mood, current goal, skills, family, and opinion of you.
/sapience stats: see the settlement population, leadership, council, and defense state.
/sapience version: check the installed build.
/sapience reload: reload the config without restarting. This requires operator permission level 2.
The mod creates config/sapience.json on first run. You can tune or disable building, terrain changes, gathering, combat, marriage, children, traditions, politics, military behavior, names, speech, held items, armor, simulation distance, and performance mode.
Following, ordinary player retaliation, and lethal feuds start disabled. Turn off allowTerrainModification if you do not want villagers placing or breaking blocks.
Compatibility and world safety
- This build supports Fabric on Minecraft 1.21.1 with the matching Fabric API.
- Install the same Sapience jar and Fabric API on the server and every joining client.
- Mods that replace villager behavior, trading, equipment, held-item rendering, or the villager model may conflict. Test the exact pack you plan to use.
- The mod reads ordinary beds, blocks, entities, and Points of Interest. It does not replace POI data, workstations, world generation, dimensions, networking, golem spawning, or general golem AI. One narrow rule stops a golem attacking a village-accepted transformed witch until real betrayal revokes that acceptance.
- Terrain work checks reach, materials, known structures, block entities, water, drops, and nearby protected cells. Ordinary Minecraft blocks do not reliably record who placed them, so the mod cannot identify every player-placed natural log or stone. Disable terrain changes if that matters in your world.
- NeoForge, Sinytra Connector, Minecraft 1.20.1, and unlisted 1.21.x versions are not supported by this build.
The mod is closed source and All Rights Reserved. You may download and play the official build, make videos, streams, screenshots, reviews, and written coverage. Modpacks may include the official unmodified jar with clear credit and a link to the official download page. See the included license for the full terms.
Getting started
- Install Fabric Loader for Minecraft 1.21.1.
- Install the matching Fabric API.
- Put the Sapience Fabric 1.21.1 jar in the
mods folder on the server and every joining client.
- Back up the world, launch, and find a village.
- Watch for ten minutes. Greet somebody, offer a gift, and use
/villager whenever you want to understand why a person did something.
Sapience is free to download and play. I build it in my spare time, and I read the reports. Early players have already led me to real fixes. If you catch something clever, strange, funny, or broken, send it to me through discord ().
评论 0
登录后参与评分
还没有评论,来抢沙发吧