水流侵蚀地形,形成溪流和瀑布,并生成砾石、沙子、粘土和苔藓
水从湖泊和含水层中渗出。泥土和沙子被冲刷走,加深河床并切割河岸。在你的探索中发现森林溪涧和山间小溪。也许今天你穿过一个干旱的沙漠山谷,明天却发现它已被洪水淹没。
就像现实生活中的侵蚀一样,Minecraft 中的侵蚀是一个缓慢的过程。你必须等待才能看到效果,或者增加随机刻速度。
目标
- 将 Water Erosion 实现为类似 Minecraft 默认的功能,使世界更加动态。
- 提供符合原版游戏机制的可再生粗泥、沙子和粘土来源。
- 避免破坏原版现有的游戏玩法。
特性/规则
- 流经边缘的水会侵蚀下方的方块。
- 流入方块的“水”会先“饱和”,然后溶解“墙壁”。水流会转向最近的空气空间。
- 水流结束“饱和”后,会溶解下方的方块,从而有可能继续向下游流动。
- 水源会沿空气空间方向溶解侧面的方块。
- 可侵蚀的方块包括沙子、砾石、粘土、耕地、泥土、草方块,以及偶尔出现的圆石。
- 不同可侵蚀方块对侵蚀的抵抗力因其密度而异,但所有方块最终都会随时间推移而侵蚀。
- 方块在侵蚀过程中会衰变为较弱的方块,然后消失。
- 方块会在河床上游发生衰变。
- 圆石和石砖在水附近会长出苔藓。
- 可通过配置文件启用/禁用耕地侵蚀(目前仅限 Forge 1.14+)
衰变层级:
- 圆石 -> 苔石 -> 砾石
- 石砖 -> 苔石砖 -> 砾石
- 草径 -> 草方块 -> 泥土 -> 粗泥 -> 泥浆 -> 砾石
- 砾石 -> 沙子 -> 粘土(罕见) -> 空气/水。
有想法让它变得更好吗?请在评论或 Issue 中告诉我!
待办功能
教程
可以使用简单的机器从砾石中生成沙子
测试区域
创建每个世界,传送到指定位置,并可选地更改 randomTickSpeed 设置以加速过程。注意:如果你不更改 randomTickSpeed(例如在生存世界中),你必须等待至少 30 分钟现实时间才能看到效果。
/teleport X Y Z
/gamerule randomTickSpeed NUMBER # 建议设为 150
种子 4465334863609190468
在 Minecraft 1.20.4 上测试
-388 73 258 - 巨大的瀑布覆盖了沼泽中一座山峰侧面。
-538 85 1133 - 瀑布填满了狭窄森林缝隙的底部。
-638 72 1459 - 一条溪流在森林中找到了多条穿越树木的路径。

技术说明
这个“核心模组”使用 Mixin 框架 向 Water 方块的 randomTick() 函数添加了代码。randomTick() 仅由 Minecraft 运行时在玩家周围 128 个方块的半径内调用,因此发生侵蚀的概率被设定得相当高。
模组文件使用
这些文件只能直接托管在 Curseforge.com 上。整合包作者可以自由地在任何基于 Curseforge 的整合包中使用此模组。
Water erodes the landscape creating streams and waterfalls producing gravel, sand, clay, and moss
Water escapes from lakes and aquifers. Dirt and sand wash away to deepen stream beds and cut river banks. Find Forest brooks and Mountain creeks in your explorations. Pass through a dry Desert valley one day and find it flooded the next.
Erosion in Minecraft, just like real life, is a slow process. You must wait see to the effects or increase the random tick speed.
Goals
- Implement Water Erosion as though it were a default Minecraft feature to make worlds more dynamic.
- Provide a renewable source of Coarse Dirt, Sand, and Clay fitting into the stock game mechanics.
- Avoid breaking stock existing game play.
Features/Rules
- Water flowing over an edge erodes the block below.
- Water flowing into a block "saturates", then dissolves the "wall." Turns towards the closest air space.
- Water flow ends "saturate", then dissolve the block below to potentially continue the flow downhill.
- Water Sources dissolve blocks to the side in the direction of air spaces.
- Erodable blocks include sand, gravel, clay, farmland, dirt, grass, and, rarely, cobblestone.
- Erodable blocks have differing resistances to erosion depending on their density, but all erode over time.
- Blocks decay during erosion to weaker blocks before disappearing.
- Blocks decay upstream in stream beds.
- Cobblestone and Stone Bricks grow moss near water.
- Enable/disable Farmland erosion via config file (Forge for 1.14+ only for now)
Decay hierarchy:
- Cobblestone -> Mossy Cobblestone -> Gravel
- Stone Bricks -> Mossy Stone Bricks -> Gravel
- Grass Path -> Grass -> Dirt -> Coarse Dirt -> Mud -> Gravel
- Gravel -> Sand -> Clay(rarely) -> Air/Water.
Have an idea about how it could be even better? Let me know in the comments or issues!
TODO Features
Tutorial
Sand can be generated from gravel with a simple machine
Test Areas
Create each the world, teleport to the specified location, and, optionally, change the randomTickSpeed setting to speed up the process. Note: You must wait upwards of 30 real minutes to see the effects if you do not change the randomTickSpeed, such as in a survival world.
/teleport X Y Z
/gamerule randomTickSpeed NUMBER # Suggest 150
Seed 4465334863609190468
Tested on Minecraft 1.20.4
-388 73 258 - A massive waterfall covers the side of a mountain peak in a swamp.
-538 85 1133 - A waterfall fills the floor of a narrow forest crevice
-638 72 1459 - A stream finds multiple routes through the trees in a forest

Technical Notes
This "core mod" adds code to the Water block randomTick() functions using the Mixin framework. randomTick() is only called by the Minecraft runtime for a 128 block radius around the player, so the odds of erosion occurring are set fairly high.
Mod File Usage
These files may only be hosted directly on Curseforge.com. Mod Pack authors are free use this mod in any Curseforge-based mod pack.
评论 0
登录后参与评分
还没有评论,来抢沙发吧