适用于现代 Fabric 的 Regrowth,其村庄行为可适应模组化布局。
Regrowth: Revamped 是一个非官方的延续版本。 它基于 MacTso 和 Lupicus 制作的 Regrowth,并非官方上游版本。
Regrowth 赋予生物一些小型环境效果,并让村民随时间推移维护他们的定居点。动物可以进食或传播植被,怪物保留其原有的环境行为,而村民会修复农田、道路、照明、植被以及村庄围墙。
Revamped 将该模组移植至 Minecraft 26.2 和 26.3,并用一种更安全的数据驱动规划系统取代了原版对小型方形村庄的假设,该系统专为自定义村庄结构和大型整合包设计。
changelog · adaptive villages guide · source code · issue tracker


特性
- 支持 Fabric 平台的 Minecraft 26.2 和 26.3
- 仅服务端运行;客户端无需安装该模组
- 适用于专用服务器和单人游戏
- 基于集会点 (POI)、住所和工作地点 POI 构建自适应边界
- 每个村庄一个围墙环,无论其拥有多少座钟
- 围墙与道路交叉处设有大门和开口
- 围墙以连续段的形式生长,并顺应地形起伏
- 在昏暗的村庄路径旁设置路灯柱,风格仿照原版村庄路灯
- 提供原始的固定方形围墙算法,可作为
legacy 模式使用
- 保守的方块替换机制,受 protected-block 和 foundation 标签保护
- 通过数据包配置文件定义生物群系、结构、材质和道路行为
- 为原版和模组化村民分配职业角色
- 缓存规划方案,而非每次村民刻都重新计算村庄几何结构
- 支持按村庄进行分析、预览、启用/禁用、模式切换和重建控制
自适应村庄围墙
默认的 poi_hull 模式会在附近的村庄 POI 周围扩展边界,并扫描该边界内的道路。随后村民会逐渐建造边界,一次放置一个方块。如果几个钟彼此距离在 64 格以内,它们将被视为一个边界,中心位于最靠近其住所和工作地点中间的钟。
围墙以连续段的方式生长:靠近边界的村民会先延伸已开始的路段,然后再开始新的路段。围墙会顺应地形抬升,清除沿途的草、花朵和灌木,仅在道路穿过时留出开口,每个开口的中央设有一扇栅栏门。水流保持开放。整个环需要数个游戏日才能建成,而若没有任何村民走过某一段,该段将保持开放状态。
围墙建造保留了 Regrowth 原有的控制方块行为。除非将 key.playerWallControlBlockString 设置为 minecraft:air,否则配置的控制方块必须直接位于 /regrowth village analyze 所报告的村庄主钟上方;同一村庄其他任何钟上方的方块均不计入。新加载的村庄区块会自动生成此方块。若在模组添加前该村庄已被探索过,则不会自动生成该方块,因此直到有人在 /regrowth village analyze 报告的钟上放置配置好的控制方块之前,围墙都不会开始建造。
如果您更喜欢原始的固定方形周长,请使用 legacy 模式。

路灯柱
拥有照明职业的村民会在昏暗的村庄路径旁竖立路灯柱,一次竖立一根完整的灯柱。灯柱立于道路旁的自然地面上,绝不会立在道路上,并避开房门、床铺、工作地点和围墙线。灯光本身决定了间距,通常相距 11 到 13 格。
| 村庄类型 |
灯柱样式 |
| 平原 |
两根橡木栅栏、去皮橡木原木和四支火把 |
| 沙漠 |
切制砂岩、陶瓦和一支火把 |
| 雪地 |
带有横臂的云杉栅栏柱和悬挂灯笼 |
| 其他 |
两根对应村庄材质的栅栏和一支火把 |
在所有有村民的村庄中都会竖立灯柱,包括那些在更新前就已存在的村庄。若要关闭此功能,请在村庄配置文件中将 lighting.lamp_post 设置为 none,或者从 key.actionMobList 的村民条目中移除 t,这也会停止放置其他火把。/regrowth village disable 会暂停单个村庄的路灯柱工作,同时也会暂停道路和围墙建设。
村民行为
默认的村民行为字符串仍为 chrwvt。
| 字母 |
行为 |
c |
清除阻碍生长的草(保留花朵) |
h |
使牧师治愈玩家,铁匠修理铁傀儡 |
r |
清除积雪并修复可能的道路缺口 |
w |
建造规划的村庄围墙和道路交叉口大门 |
v |
修剪自然生成的树叶和仙人掌 |
t |
在昏暗的村庄路径旁竖立路灯柱,并在黑暗遮蔽处、农场附近及围墙沿线放置火把 |
农田维护和按职业种植花卉通过职业角色分配,不使用这些字母。
命令
命令需要管理员权限,并选择 96 格范围内最近的集会点 (POI)。
| 指令 |
功能说明 |
/regrowth village analyze |
显示已选配置文件的模式、控制状态和规划范围大小 |
/regrowth village preview |
使用粒子效果显示规划的边界 |
/regrowth village preview walls |
边界预览的别名 |
/regrowth village enable |
恢复道路、围墙和路灯的工作 |
/regrowth village disable |
暂停道路、围墙和路灯的工作 |
/regrowth village mode default |
使用配置文件中的默认模式 |
/regrowth village mode adaptive |
使用基于兴趣点(POI)推导出的边界 |
/regrowth village mode legacy |
使用固定方形边界 |
/regrowth village rebuild |
丢弃并重新计算缓存的规划方案 |
依赖要求
| Minecraft |
Fabric API |
Fabric Loader |
Java |
| 26.3 |
0.165.2+26.3 或更高版本 |
0.19.3 或更高版本 |
25 |
| 26.2 |
0.161.0+26.2 或更高版本 |
0.19.3 或更高版本 |
25 |
请选择与你的 Minecraft 版本匹配的文件;其版本号以该版本结尾,例如 1.2.0+26.3。Fabric API 是必需的依赖项。
安装方法
- 安装 Fabric Loader 和 Fabric API。
- 将 Regrowth: Revamped JAR 文件放入服务器的
mods 目录中。
- 启动服务器一次,以生成
config/regrowthconfig.properties 配置文件。
对于单人游戏,将 JAR 文件放入实例的 mods 目录中。模组将通过集成服务器运行。
村民可以改变道路、建造围墙并放置路灯。在将其添加到长期存档之前,请备份现有世界,或在副本中尝试此模组。
数据包集成
村庄配置文件:
data/<namespace>/regrowth/village_profiles/*.json
职业角色:
data/<namespace>/regrowth/profession_roles/*.json
安全与材质标签:
regrowth:wall_foundations
regrowth:wall_replaceable
regrowth:road_replaceable
regrowth:village_roads
regrowth:protected_from_villagers
方块实体始终受到保护。其他模组可以向这些标签中添加方块,而无需添加 Java 依赖。
配置文件还通过 lighting.lamp_post 选择路灯设计或关闭路灯。完整的配置文件格式请参阅 自适应村庄指南。
源码与问题反馈
请在上述地址报告与 Revamped 相关的问题,而不是在原项目的追踪器上提交。
致谢
- MacTso 和 Lupicus — 原版 Regrowth 的设计与实现
- Cairo D'Avila — 当前 Fabric 移植版及自适应村庄工作
原项目:
许可证
Regrowth: Revamped 根据 MIT 许可证 分发。原始版权声明和许可声明保留在源代码仓库和打包的 JAR 文件中。
AI 披露
在移植、自适应村庄实现、测试以及本页面准备过程中,使用了 AI 辅助编码和编辑工具。上方的游戏玩法 GIF 均为游戏内录屏。
Regrowth for modern Fabric, with village behavior that adapts to modded layouts.
Regrowth: Revamped is an unofficial continuation. it's based on Regrowth by MacTso and Lupicus and is not an official upstream release.
Regrowth gives creatures small environmental effects and lets villagers maintain their settlements over time. animals can eat or spread vegetation, monsters keep their original environmental actions, and villagers repair farms, roads, lighting, vegetation and village walls.
Revamped ports the mod to Minecraft 26.2 and 26.3 and replaces the original assumption of a small square village with a safer, data-driven planning system meant for custom village structures and large modpacks.
changelog · adaptive villages guide · source code · issue tracker


features
- Minecraft 26.2 and 26.3 support on Fabric
- server-side only; clients don't need the mod
- works on dedicated servers and in singleplayer
- adaptive boundaries built from meeting, home and job-site POIs
- one wall ring per village, however many bells it has
- gates and openings where roads cross the planned wall
- walls that grow as connected runs and step with the terrain
- lamp posts beside dark village paths, in the style of vanilla's village lamps
- the original fixed-square wall algorithm, available as
legacy mode
- conservative block replacement with protected-block and foundation tags
- data-pack profiles for biome, structure, material and road behavior
- data-pack profession roles for vanilla and modded villagers
- cached plans instead of recalculating village geometry every villager tick
- per-village analyze, preview, enable/disable, mode and rebuild controls
adaptive village walls
the default poi_hull mode expands a boundary around nearby village POIs and scans that boundary for roads. villagers then build it gradually, one block at a time. a village with several bells within 64 blocks of each other gets one boundary, centred on the bell nearest the middle of its homes and job sites.
the wall grows as connected runs: a villager near the boundary extends a stretch that's already started before beginning a new one. it steps up with the terrain, replaces grass, flowers and bushes in its way, and opens only where a road crosses it, with a fence gate in the middle of each opening. water is left open. a ring takes several in-game days, and a stretch no villager walks past stays open.
wall construction keeps Regrowth's original control-block behavior. unless key.playerWallControlBlockString is set to minecraft:air, the configured control block must be directly above the village's bell, the one /regrowth village analyze reports; a block above any other bell of the same village doesn't count. new village chunks receive this block automatically. a village that had already been explored before the mod was added gets no automatic block, so its walls don't start until someone places the configured control block on the bell that /regrowth village analyze reports.
use legacy mode if you prefer the original fixed-square perimeter.

lamp posts
villagers with the lighting role put up lamp posts beside village paths where it's dark, a whole post at a time. a post stands on natural ground next to a road, never on it, and keeps clear of doors, beds, job sites and the wall line. the light itself spaces them out, usually 11 to 13 blocks apart.
| village |
post |
| plains |
two oak fences, stripped oak wood and four torches |
| desert |
cut sandstone, terracotta and a torch |
| snowy |
a spruce fence post with an arm and a hanging lantern |
| others |
two fences of the village's wood and a torch |
posts go up in every village with villagers, including ones that were there before the update. to turn them off, set lighting.lamp_post to none in a village profile, or remove t from the villager entry in key.actionMobList, which also stops the other torches. /regrowth village disable pauses them for one village, together with road and wall work.
villager actions
the default villager action string is still chrwvt.
| letter |
action |
c |
clear obstructing grass (flowers are left alone) |
h |
let clerics heal people and toolsmiths repair iron golems |
r |
clear snow and repair likely road gaps |
w |
build planned village walls and road-crossing gates |
v |
trim natural leaves and cactus |
t |
put up lamp posts beside dark village paths, and place torches in dark covered spots, near farms and along walls |
farm maintenance and profession-specific flower planting are assigned through profession roles and don't use these letters.
commands
commands need game-master permission and select the nearest meeting POI within 96 blocks.
| command |
what it does |
/regrowth village analyze |
show the selected profile, mode, control state and plan size |
/regrowth village preview |
display the planned boundary with particles |
/regrowth village preview walls |
alias for the boundary preview |
/regrowth village enable |
resume road, wall and lamp post work |
/regrowth village disable |
pause road, wall and lamp post work |
/regrowth village mode default |
use the profile's configured mode |
/regrowth village mode adaptive |
use the POI-derived boundary |
/regrowth village mode legacy |
use the fixed-square boundary |
/regrowth village rebuild |
discard and recalculate the cached plan |
requirements
| Minecraft |
Fabric API |
Fabric Loader |
Java |
| 26.3 |
0.165.2+26.3 or newer |
0.19.3 or newer |
25 |
| 26.2 |
0.161.0+26.2 or newer |
0.19.3 or newer |
25 |
pick the file that matches your Minecraft version; its version number ends in it, like 1.2.0+26.3. Fabric API is a required dependency.
installation
- install Fabric Loader and Fabric API.
- place the Regrowth: Revamped JAR in the server's
mods directory.
- start the server once to generate
config/regrowthconfig.properties.
for singleplayer, place the JAR in the instance's mods directory. the mod runs through the integrated server.
villagers can change roads, build walls and put up lamp posts. back up an existing world, or try the mod on a copy, before adding it to a long-running save.
data-pack integration
village profiles:
data/<namespace>/regrowth/village_profiles/*.json
profession roles:
data/<namespace>/regrowth/profession_roles/*.json
safety and material tags:
regrowth:wall_foundations
regrowth:wall_replaceable
regrowth:road_replaceable
regrowth:village_roads
regrowth:protected_from_villagers
block entities are always protected. other mods can append blocks to these tags without adding a Java dependency.
a profile also picks the lamp post design, or turns posts off, with lighting.lamp_post. the full profile format is in the adaptive villages guide.
source and issues
please report Revamped-specific issues there rather than on the original project's tracker.
credits
- MacTso and Lupicus — original Regrowth design and implementation
- Cairo D'Avila — current Fabric ports and adaptive village work
original project:
license
Regrowth: Revamped is distributed under the MIT license. the original copyright and permission notice are preserved in the source repository and packaged JAR.
AI disclosure
AI-assisted coding and editing tools were used during the port, the adaptive-village implementation, testing, and the preparation of this page. the gameplay GIFs above are in-game screen recordings.
评论 0
登录后参与评分
还没有评论,来抢沙发吧