?️ Lost Cities — Fabric 移植版
将整个世界转化为被遗弃且杂草丛生的城市。
这是 McJty 的 Lost Cities 在 Fabric 上的移植版本,涵盖 Minecraft 1.20 → 1.21.11。
这是一个 1:1 移植,而非重新实现。生成器、资产系统、全部 17 种配置文件、 所有 12 条命令、配置键以及公共 API 均为 McJty 的原版,未经修改。仅替换了 针对加载器的底层代码。世界生成的内容与 NeoForge 上相同,并且为原版编写的数据包无需任何编辑即可在此运行。
? 功能特性
- 17 种生成配置文件 — 普通城市、巨型城市、稀有城市、洞穴城市、浮空岛、太空气泡、生物圈、淹没的大西洋、丛林覆盖的废墟、废土等
- 完整的城市生成 — 建筑物、街道、高速公路、桥梁、铁路、单轨铁路、走廊、球体和散落的结构
- 12 条命令 — 用于定位、映射以及在游戏内创建您自己的城市资产
- 完整的数据包支持 — 建筑、部件、调色板、城市风格、条件、变体、 世界风格以及 2×2 / 3×3 多块建筑
- 世界创建屏幕上的游戏内配置文件选择器
- 结构避让 — 防止城市生成在村庄和其他结构之上
- 对服务器友好 — 没有自定义方块或物品,因此原版客户端可以加入运行此模组的专用服务器(详见说明)
? 依赖要求
需要三个依赖项,缺一不可:
- Fabric Loader ≥ 0.15.0
- Fabric API
- Forge Config API Port ← 容易被忽略, 如果没有安装此依赖,模组将无法加载
原版使用的配置代码原样保留,且是针对 NeoForge 的配置 API 编写的;Forge Config API Port 是在 Fabric 上提供该 API 的关键。请安装与您的 Minecraft 版本匹配的构建版本。
Java: Minecraft 1.20–1.20.4 需要 Java 17,1.20.5 及更高版本需要 Java 21。
⚡ 安装步骤
- 为您的 Minecraft 版本安装 Fabric Loader
- 将 Fabric API、Forge Config API Port 和此模组的 jar 文件放入
mods/文件夹 - 创建新世界 → 切换到 更多 (More) 选项卡 → 点击 Cities 按钮
- 选择一个配置文件 — 或者选择 Disabled 以生成普通世界
在专用服务器上,由于没有创建界面,请在
config/lostcities-server.toml 中选择配置文件:
[profiles]
selectedProfile = "onlycities"
初次接触本模组?default 是预期的体验模式。onlycities 会立即展示其能力——整个地图都是城市。
✅ 兼容性验证方法
并非通过肉眼观察。我们在每个版本上使用相同的种子和配置文件生成世界,然后直接读取区域文件并统计每一个方块——仅比较在所有世界中均完成生成的区块。跨越六个版本,城市内容完全一致:箱子、刷怪笼、铁栏杆、玻璃和书架的数量按区块逐一比对完全相同。剩余的微小差异存在于原版地形和矿石分布中,而非城市中。
每个版本在发布前还会在全新世界上进行专用服务器启动测试,因为 Fabric mixins 不会由编译器进行验证。
? 注意事项
- 添加任何世界生成模组前,请备份您的世界,包括本模组。添加或删除它会改变新区块的生成方式。
- Lost Worlds 未移植到 Fabric。 与其搭配设计的配置文件(
cavern、floating、space、biosphere_caves、atlantis)仍然有效——它们只是生成在普通地形上,而不是匹配的世界类型上。 optimizedHeightmap默认关闭。请保持关闭状态。 它为了速度重新实现了原版内部逻辑,且其输出结果尚未与正常路径进行过验证。- NeoForge 的 IMC API 在 Fabric 上没有对应物。 Lost Cities API 中包含了所有接口,模组可以直接使用
LostCities.lostCitiesImp,但针对 NeoForge IMC 握手编写的模组将找不到它。这是移植版唯一的 API 表面差异。 - 拼写错误的
selectedProfile会导致世界创建失败。 这是继承自原版的行为,并非移植版新增的问题。 - 客户端可选是出于设计考虑但未经验证。 该模组不注册任何方块或物品——仅注册世界生成功能和服务器端注册表——因此原版客户端应能连接到运行此模组的服务器。如果您想要配置文件选择器,请在客户端侧安装。
? 链接与支持
- GitHub: Lost-Cities-port-Fabric
- 报告错误: GitHub Issues
- 原版模组: McJty's Lost Cities
- 移植作者: sunshainy — MIT 许可证。
请勿就本移植版的问题联系 McJty。 他并未参与此项目,也不对此负责。请在此仓库的问题跟踪器中报告问题。模组本身的所有功劳归于他;移植版仅是将其工作迁移到了不同的加载器上。
尽情探索废墟吧。 ?️✨
?️ Lost Cities — Fabric Port
Turn the whole Overworld into an abandoned, overgrown city.
A Fabric port of Lost Cities by McJty, covering Minecraft 1.20 → 1.21.11.
This is a 1:1 port, not a reimplementation. The generator, the asset system, all 17 profiles, all 12 commands, the config keys and the public API are McJty's originals, unchanged. Only the loader-specific plumbing was replaced. Worlds generate the same content they do on NeoForge, and datapacks written for the original work here with no edits.
? Features
- 17 generation profiles — ordinary cities, megacities, rare cities, cavern cities, floating islands, space bubbles, biospheres, drowned Atlantis, jungle-reclaimed ruins, wasteland, and more
- Complete city generation — buildings, streets, highways, bridges, railways, monorails, corridors, spheres and scattered structures
- 12 commands for locating, mapping, and authoring your own city assets in-world
- Full datapack support — buildings, parts, palettes, city styles, conditions, variants, world styles, and 2×2 / 3×3 multibuildings
- In-game profile picker on the world creation screen
- Structure avoidance — keep cities off villages and other structures
- Server-friendly — no custom blocks or items, so vanilla clients can join a dedicated server running this mod (see notes)
? Requirements
Three dependencies, all required:
- Fabric Loader ≥ 0.15.0
- Fabric API
- Forge Config API Port ← easy to miss, and the mod will not load without it
The original's config code is used verbatim and is written against NeoForge's config API; Forge Config API Port is what provides that API on Fabric. Install the build matching your Minecraft version.
Java: 17 for Minecraft 1.20–1.20.4, 21 for 1.20.5 and newer.
⚡ Installation
- Install Fabric Loader for your Minecraft version
- Put Fabric API, Forge Config API Port and this mod's jar into
mods/ - Create New World → More tab → the Cities button
- Pick a profile — or Disabled for an ordinary world
On a dedicated server there is no creation screen, so pick the profile in
config/lostcities-server.toml:
[profiles]
selectedProfile = "onlycities"
New to the mod? default is the intended experience. onlycities shows you what it can do
immediately — the entire map is city.
✅ How parity was checked
Not by eye. Worlds were generated from an identical seed and profile on each version, then the region files were read directly and every block tallied — comparing only chunks that finished generating in every world. Across six versions the city content came out identical: same number of chests, spawners, iron bars, glass and bookshelves, chunk for chunk. The small drift that remains is in vanilla terrain and ore placement, not in the cities.
Every version also gets a dedicated-server boot on a fresh world before release, because Fabric mixins are not validated by the compiler.
? Good to know
- Back up your worlds before adding any worldgen mod, this one included. Adding or removing it changes how new chunks generate.
- Lost Worlds is not ported to Fabric. The profiles designed to pair with it (
cavern,floating,space,biosphere_caves,atlantis) still work — they just generate onto ordinary terrain instead of a matching world type. optimizedHeightmapis off by default. Leave it off. It re-implements vanilla internals for speed and its output has not been verified against the normal path.- NeoForge's IMC API has no Fabric equivalent. Every interface in the Lost Cities API is
present, and mods can use
LostCities.lostCitiesImpdirectly, but a mod written against the NeoForge IMC handshake will not find it. This is the port's one API-surface difference. - A misspelled
selectedProfilewill fail world creation. That is inherited behaviour from the original, not something the port added. - Client-optional is by design but untested. The mod registers no blocks or items — only worldgen features and server-side registries — so a vanilla client should connect to a server running it. Install it client-side if you want the profile picker.
? Links & support
- GitHub: Lost-Cities-port-Fabric
- Report bugs: GitHub Issues
- Original mod: McJty's Lost Cities
- Port by: sunshainy — MIT licence.
Please do not contact McJty about problems with this port. He is not involved in it and is not responsible for it. Report issues on this repository's tracker instead. All credit for the mod itself belongs to him; the port only moves his work to a different loader.
Enjoy exploring the ruins. ?️✨
下载 The lost cities
下载 The lost cities
下载 The lost cities
下载 The lost cities
下载 The lost cities
下载 The lost cities
下载 The lost cities
下载 The lost cities
下载 The lost cities
下载 The lost cities
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧