Terrasect 是什么?
Terrasect 允许你将 Minecraft 世界划分为具有名称的区域(regions)——这些区域可以布局为六边形网格、Voronoi 单元、递归细分、环绕形状或散落的岛屿——并为每个区域赋予其独有的世界生成规则。一个区域可以是郁郁葱葱的温和平原;它的邻居则可能是一个崎岖不平、怪物横行的废土,拥有独立的战利品表——所有这些都在同一个世界中实现,源自同一个种子,且每次加载都保持一致。
这里没有任何随机性:相同的种子始终产生相同的布局,因此你曾经发现过的区域在下次加载时依然存在。
问题与建议
发现了 Bug,或者有关于 Terrasect 应该具备功能的想法?请在 GitHub Issue 追踪器 上提交 Issue ——我们欢迎 Bug 报告和建议。
功能特性
- 地形与气候塑造。 使区域的地形更平坦或更崎岖,并独立于周围世界覆盖其温度、湿度及其他气候值。
- 高度限制。 限制区域允许构建的最高或最低海拔。
- 结构控制。 在区域内允许、禁止或强制生成特定结构(或整个模组/结构标签组)——想让所有平原村庄都被掠夺者前哨站取代吗?没问题。
- 生物生成控制。 在世界生成期间和正常游戏过程中,允许或禁止特定生物(或整个生物标签组)在区域内生成。
- 战利品控制。 在区域内允许或禁止战利品表条目(或战利品标签)。
- 五种区域布局方式。 六边形网格、Voronoi 单元、递归细分、环绕形状以及散落的群岛——选择最适合你所构建世界的形状语言。
- 简单的配置,或按需编码。 在纯文本预设文件中定义区域,或者如果你正在编写自己的插件,可以通过编程方式构建它们。
- 专为高性能设计。 区域查询按区块缓存,因此添加大量区域不会导致世界卡顿。
支持版本
| Minecraft | Fabric | NeoForge |
|---|---|---|
| 1.20.1 | ✅ | — |
| 1.21.1 | ✅ | ✅ |
| 1.21.11 | ✅ | ✅ |
| 26.1 | ✅ | ✅ |
| 26.2 | ✅ | ✅ |
Fabric 版本还需要 Fabric API 和 Fabric Language Kotlin。NeoForge 版本还需要 Kotlin for Forge。请从与你下载的 Terrasect jar 包相同的发布页面获取匹配的依赖项版本。
快速开始
- 像安装其他模组一样安装 Terrasect 及其对应加载器的 Kotlin 依赖项(见上文)。
- 启动一次世界 —— Terrasect 会创建一个包含示例预设和
config.toml文件的config/terrasect/文件夹。此时尚未激活任何预设,因此世界生成不受影响。 - 打开
config/terrasect/config.toml,将preset设置为该文件夹中某个预设文件的名称(不带.toml扩展名)以激活它。 - 重启游戏或服务器。配置更改仅在启动时读取。
请参阅下方的 入门指南,其中包含逐步教程、完整的区域/策略参考(含图片),以及关于噪声、结构和战利品限制的专用页面。
已知限制
Terrasect 正处于积极开发中。目前有一些预设选项已被接受但尚未改变生成逻辑:强制执行区域的高度限制、覆盖降水或继承的气候预设。这些选项会被识别和验证,但尚未连接到世界生成系统——在使用之前,请查看项目的“已知问题”页面以了解当前状态。
许可证与 AI 披露
Terrasect 采用 MIT 许可证 —— 你可以使用、分叉并从中学习。
本模组的构建过程中广泛使用了大语言模型(LLM),因此部分代码库难免显得粗糙。本项目的重点在于理念——基于区域的世界生成控制——而非完美的实现。如果你想在自己的模组中进一步拓展这一理念,我们非常鼓励这样做;我们也期待听到你的反馈。
What is Terrasect?
Terrasect lets you divide your Minecraft world into named regions — laid out as a hex grid, Voronoi cells, recursive subdivisions, surround shapes, or scattered islands — and give each region its own rules for how the world generates there. One region can be a lush, gentle plain; its neighbor a jagged, monster-infested wasteland with its own loot table — all in the same world, all from the same seed, every time.
Nothing here is random per-visit: the same seed always produces the same layout, so a region you found once will still be there next time.
Issues and suggestions
Found a bug, or have an idea for something Terrasect should do? Open an issue on the GitHub issue tracker — bug reports and suggestions are both welcome.
Features
- Terrain & climate shaping. Push a region's terrain flatter or rougher, and override its temperature, humidity, and other climate values independently of the surrounding world.
- Height limits. Cap how high or low a region is allowed to build.
- Structure control. Allow, block, or force specific structures (or whole mod/structure-tag groups) inside a region — want every plains village replaced with a pillager outpost? Done.
- Mob spawn control. Allow or block specific mobs (or entire mob tags) from spawning in a region, both during world generation and during normal play.
- Loot control. Allow or block loot table entries (or loot tags) inside a region.
- Five ways to lay out regions. Hex grid, Voronoi cells, recursive subdivision, surround shapes, and scattered archipelagos — pick whichever shape language fits the world you're building.
- Simple config, or code if you want it. Define regions in plain text preset files, or build them programmatically if you're writing your own add-on.
- Built to stay fast. Region lookups are cached per chunk, so adding a lot of regions doesn't mean a laggy world.
Supported versions
| Minecraft | Fabric | NeoForge |
|---|---|---|
| 1.20.1 | ✅ | — |
| 1.21.1 | ✅ | ✅ |
| 1.21.11 | ✅ | ✅ |
| 26.1 | ✅ | ✅ |
| 26.2 | ✅ | ✅ |
Fabric builds additionally require Fabric API and Fabric Language Kotlin. NeoForge builds additionally require Kotlin for Forge. Grab the matching dependency versions from the same release page as the Terrasect jar you download.
Quick start
- Install Terrasect and its loader-specific Kotlin dependency (see above) like any other mod.
- Launch the world once — Terrasect creates a
config/terrasect/folder with an example preset and aconfig.tomlfile. No preset is active yet at this point, so world generation is untouched. - Open
config/terrasect/config.tomland setpresetto the name of a preset file in that folder (without the.tomlextension) to activate it. - Restart the game or server. Config changes are only read on startup.
See Getting Started below for a step-by-step walkthrough, the complete region/strategy reference (with pictures), and dedicated pages for noise, structures, and loot constraints.
Known limitations
Terrasect is under active development. A few preset options are accepted today but don't yet change generation: enforcing a region's height limits and overriding precipitation or an inherited climate preset. These are recognized and validated, just not wired up to world generation yet — check the project's Known Issues page for the current state before relying on them.
License & AI disclosure
Terrasect is MIT licensed — use it, fork it, learn from it.
LLMs were used extensively in building this mod, and some of the codebase is admittedly rough around the edges as a result. The point of this project was the idea — region-based world generation control — not a polished implementation. If you want to take the idea further in your own mod, you're encouraged to; we'd love to hear about it.
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Terrasect
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Terrasect
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧