Canalize
你是否曾想过,Minecraft 的世界可以更高大、更宏伟、更具真实感?
原版主世界的高度上限为 384 格。山峰的最高点仅高出几十格——你只需几分钟就能登顶。那根本不算山脉,只是一座丘陵模型。
Canalize 打破了这一限制。
它是什么
Canalize 是一款 NeoForge 模组,它彻底重写了 Minecraft 主世界的地形生成逻辑。它并非对原版地形进行换皮或调整参数,而是从头开始替换原版的 ChunkGenerator,采用独立的 C++ 噪声引擎,并通过 JNI 桥接回游戏。
生成的世界高度从 −64 一直延伸至 1744 ——垂直空间总计 1808 格。这比原版高出了 4.7 倍。
世界外观
想象一座山脉:其基座被侵蚀成峡谷与河床,山坡由层层叠叠的岩石构造组成,山顶位于林木线之上裸露着岩石——而峰顶几乎穿透了云层。
Canalize 的地形基于三层噪声系统构建:
- Ridged FBM(ridged 分形布朗运动) — 构建山脉骨架:尖锐、连续、具有方向性
- Domain Warping(域扭曲) — 模拟水力侵蚀,雕刻出山谷与河床
- Worley Cellular Noise(沃利细胞噪声) — 将岩石纹理融入山峰
生物群系过渡使用 smoothstep 插值算法——海洋、平原与山脉之间没有生硬的边界。
为何使用 C++
在 1808 格的高度下,噪声计算量呈指数级增长。Canalize 的噪声核心代码使用 C++17 编写,并经过 AVX2 SIMD 优化——每条指令处理 8 个浮点数,无状态且完全线程安全。
目标:实现一个 1808 格高的世界,其生成速度相比原版毫无可感知的延迟。
技术摘要
|
|
| 世界高度 |
−64 ~ 1744(共 1808 格) |
| 噪声栈 |
Simplex OS2S → Ridged FBM → Domain Warping + Worley |
| 加速方式 |
通过 JNI 使用 C++17 + AVX2 SIMD |
| 支持平台 |
Windows / Linux / macOS(x86_64 + Apple Silicon) |
| 加载器 |
NeoForge 21.1.219 |
| 许可证 |
Mulan PubL v2 |
早期开发阶段。 在世界存档中启用后,该存档将永久依赖此模组的地形生成器。请仅在专用的测试世界中启用。
需要支持 AVX2 的 CPU(大多数 2013 年及以后的 CPU 均支持)。
中文说明详见 GitHub
Canalize
Have you ever thought that Minecraft's world could be taller, grander, and more realistic?
The vanilla Overworld caps out at 384 blocks. Mountains peak within a few dozen blocks — you reach the top in minutes. That's not a mountain range. That's a hill model.
Canalize breaks that ceiling.
What It Is
Canalize is a NeoForge mod that completely rewrites Minecraft's Overworld terrain generation. It doesn't reskin the vanilla terrain or tweak parameters — it replaces the vanilla ChunkGenerator from scratch with an independent C++ noise engine, bridged back to the game via JNI.
The resulting world stretches from −64 all the way up to 1744 — a full 1808 blocks of vertical space. That's 4.7× taller than vanilla.
What the World Looks Like
Picture a mountain whose base is carved by erosion into gorges and riverbeds, whose slopes are layered rocky formations, whose summit is bare stone above the treeline — and whose peak nearly pierces the cloud layer.
Canalize's terrain is built from three layered noise systems:
- Ridged FBM — builds the skeleton of mountain ranges: sharp, continuous, directional
- Domain Warping — simulates hydraulic erosion, carving valleys and riverbeds
- Worley Cellular Noise — blends rock texture into mountain peaks
Biome transitions use smoothstep interpolation — no hard edges between ocean, plain, and mountain.
Why C++
At 1808 blocks, noise computation multiplies dramatically. Canalize's noise kernel is written in C++17 with AVX2 SIMD optimization — 8 floats per instruction, stateless, fully thread-safe.
The goal: an 1808-block world that generates with no perceptible slowdown compared to vanilla.
Technical Summary
|
|
| World Height |
−64 ~ 1744 (1808 blocks) |
| Noise Stack |
Simplex OS2S → Ridged FBM → Domain Warping + Worley |
| Acceleration |
C++17 + AVX2 SIMD via JNI |
| Platforms |
Windows / Linux / macOS (x86_64 + Apple Silicon) |
| Loader |
NeoForge 21.1.219 |
| License |
Mulan PubL v2 |
Early development. Once enabled in a world save, that save permanently depends on this mod's terrain generator. Use only in dedicated test worlds.
Requires a CPU with AVX2 support (most CPUs from 2013+).
中文说明详见 GitHub
评论 0
登录后参与评分
还没有评论,来抢沙发吧