? TifWorldGen
在 Minecraft 中构建真实世界——使用您自己的 GIS 数据。

TifWorldGen 用 您自己的 GIS 数据 替换原版的世界生成。输入您国家、地区或城市的等高地图,它便能构建出 1:1 比例的 Minecraft 世界——包括山丘、山谷、河流、湖泊以及真实的森林覆盖率——这一切都由一个 内置的纯 Java GeoTIFF 引擎 驱动(无需外部库,无原生代码,支持 Windows、Linux 和 macOS)。
该模组已在完整的真实世界数据集上构建并测试:使用了 斯洛伐克 DMR 地形模型的部分数据(73,000 × 48,000 区块,14 GB GeoTIFF 文件)。
? 隐私保护
TifWorldGen 不收集任何信息——没有遥测数据,没有分析统计,没有任何类型的网络访问。它仅读取您在游戏内配置界面中 自行选择 的地图文件(GeoTIFF 高程图/水体/森林掩码),并且完全离线工作。描述中的“GIS”仅指这些本地输入的地图文件。
✨ 功能特性
- ?️ 基于高程图的真实地形 – Float32 GeoTIFF,自动检测最小/最大值或手动高度重映射(例如 1 m = 1 个方块)
- ? 基于水体掩码的河流与湖泊 – 自适应河床挖掘(浅滩河岸,较深的河中心),有机河床方块
- ? 真实的森林与生物群系 – 根据海拔带将地图上的森林类别映射到任意生物群系(阔叶林 → 森林,针叶林 → 古老云杉林,山峰 → 积雪山坡)
- ? 结构白名单 – 仅在您的地图指定的位置允许生成村庄和其他结构
- ?️ 原版风格洞穴 – 奶酪/意大利面/面条状洞穴跟随您的地形,含水层,熔岩湖,深暗之域 / 繁茂洞穴 / 滴水石 cave 地下生物群系
- ❄️ 季节性雪线 – Serene Seasons 集成:移动的海拔冻结线以下降雨,以上降雪
- ? Distant Horizons LOD 预生成 –
/tifworldgen dhpregen 填充 DH 的地形、河流和树木,而无需生成真实区块
- ⚙️ 游戏内配置 GUI(按 O 键打开)– 使用原生文件浏览器导入地图,带预设的生物群系规则编辑器,坡度和水体调节
? 安装指南
ℹ️ 本指南适用于最新版本(0.1.0-beta1 及更新版本)。 旧的 Alpha 构建需要外部 GDAL 库——当前版本无需任何额外依赖。
1. 为 Minecraft 1.20.1 安装 Forge 47.x,并将下载的 jar 放入 mods/ 文件夹:
tifworldgen-<version>-all.jar(一体化包——库已捆绑在内,无需第二个 jar 文件)
2. 安装依赖项:
3. 完成——无需原生库,无需系统包,无需安装其他内容。GeoTIFF 阅读器已内置于模组中(纯 Java,支持超过 100 GB 的 BigTIFF 文件)。
4. 创建新世界 → 世界类型选择 “Tif World Map” → 按 O 键导入您的地图
?️ 地图格式
| 地图类型 |
格式 |
备注 |
| 高程图 (Heightmap) |
Float32 GeoTIFF |
理想情况下 1 px = 1 个方块;自动检测最小/最大值 |
| 水体掩码 (Water mask) |
Byte GeoTIFF |
白色 (≥128) 代表水体 |
| 森林/生物群系地图 |
classes 0/1/2 或 RGB |
自动缩放至高程图分辨率;Bit 或 HEX 规则 |
⌨️ 命令
| 命令 |
描述 |
/tifworldgen dhpregen radius <1–4000> |
设置 LOD 预生成半径 |
/tifworldgen dhpregen genaboveylevel <Y> |
仅在特定高度以上进行预生成 |
/tifworldgen dhpregen prepare / start / stop |
运行 LOD 预生成 |
/tifworldgen sereneseason status |
当前季节及冻结线状态 |
❤️ 致谢与支持
Distant Horizons LOD 集成 · Serene Seasons 兼容性 · 地形测试数据:斯洛伐克 DMR。
如果您喜欢这个模组,请考虑支持开发,因为我是独立开发者:
? 许可协议
保留所有权利。
? TifWorldGen
Build the real world in Minecraft – from your own GIS data.

TifWorldGen replaces vanilla world generation with your own GIS data. Feed it a heightmap of your country, region or city and it builds a 1:1 Minecraft world – hills, valleys, rivers, lakes and real forest coverage – powered by a built-in pure-Java GeoTIFF engine (no external libraries, no native code, works on Windows, Linux and macOS).
Built and tested on a full real-world dataset: parts of the Slovakia DMR terrain model (73,000 × 48,000 blocks, 14 GB GeoTIFF).
? Privacy
TifWorldGen collects nothing – no telemetry, no analytics, no network access of any kind. It only reads the map files (GeoTIFF heightmaps/water/forest masks) that you select yourself in the in-game config screen, and it works fully offline. "GIS" in this description refers only to those local input map files.
✨ Features
- ?️ Real terrain from heightmaps – Float32 GeoTIFF, automatic min/max detection or manual height remapping (e.g. 1 m = 1 block)
- ? Rivers & lakes from water masks – adaptive riverbed carving (shallow banks, deeper mid-river), organic riverbed blocks
- ? Real forests & biomes – map forest classes to any biome per altitude band (broadleaf → forest, coniferous → old growth taiga, peaks → snowy slopes)
- ? Structure whitelist – allow villages & structures only where your map says
- ?️ Vanilla-style caves – cheese/spaghetti/noodle caves that follow your terrain, aquifers, lava lakes, Deep Dark / Lush / Dripstone underground biomes
- ❄️ Seasonal snow line – Serene Seasons integration: rain below, snow above a moving altitude freeze line
- ? Distant Horizons LOD pregeneration –
/tifworldgen dhpregen fills DH with terrain, rivers and trees without generating real chunks
- ⚙️ In-game config GUI (press O) – map import with native file browser, biome rule editor with presets, slope & water tuning
? Installation
ℹ️ This guide applies to the latest version (0.1.0-beta1 and newer). Older alpha builds required external GDAL libraries – the current version needs nothing extra.
1. Install Forge 47.x for Minecraft 1.20.1 and drop the downloaded jar into mods/:
tifworldgen-<version>-all.jar (all-in-one – the library is bundled inside, no second jar needed)
2. Install dependencies:
3. That's it – no native libraries, no system packages, nothing else to install. The GeoTIFF reader is built into the mod (pure Java, BigTIFF files over 100 GB supported).
4. Create a new world → world type “Tif World Map” → press O to import your maps
?️ Map formats
| Map |
Format |
Notes |
| Heightmap |
Float32 GeoTIFF |
1 px = 1 block ideal; min/max auto-detected |
| Water mask |
Byte GeoTIFF |
white (≥128) = water |
| Forest/biome map |
classes 0/1/2 or RGB |
auto-scaled to heightmap resolution; Bit or HEX rules |
⌨️ Commands
| Command |
Description |
/tifworldgen dhpregen radius <1–4000> |
set LOD pregeneration radius |
/tifworldgen dhpregen genaboveylevel <Y> |
pregenerate only above a height |
/tifworldgen dhpregen prepare / start / stop |
run LOD pregeneration |
/tifworldgen sereneseason status |
current season & freeze line |
❤️ Credits & Support
Distant Horizons LOD integration · Serene Seasons compatibility · terrain test data: Slovakia DMR.
If you enjoy the mod, please consider supporting development as I am a single developer:
? License
All Rights Reserved.
评论 0
登录后参与评分
还没有评论,来抢沙发吧