Water Erosion Continued for Minecraft Java Edition
Water Erosion 让河流与瀑布推动世界演变。
在探索过程中寻找森林溪流和山涧。泥土和沙子被冲刷,加深河床并将河岸切割入环境之中。地貌变得更加多样且独特。也许今天你穿过一条干涸的沙漠峡谷,明天却发现它已被洪水淹没。一条溪流甚至可能改变流向,导致原有的水流干涸。
Water Erosion Continued 是原版 Water Erosion 模组(由 Brad Erickson (13rac1) 制作)的一个分支及延续版本。
原版项目在 Minecraft 1.20.6 之后便停止更新。此分支将模组延续至当前的 Minecraft 版本,从 Forge、NeoForge 和 Fabric 的 1.21.1 开始支持。对原版设计和实现的所有功劳归于上游作者;本仓库在相同的 GPLv3 许可下继续这项工作。
目标
将侵蚀机制实现为一种常规的 Minecraft 特性,使世界更加动态。它不应破坏现有游戏玩法或允许作弊。
功能
- 流经边缘的水会侵蚀下方的方块。
- 流入方块墙壁的水会溶解该墙壁。
- 水流终点(等级 7)会溶解其下方的方块以挖掘更深的坑洞,并可能继续流动。
- 水源会向空气空间的方向溶解两侧的方块。
- 可侵蚀的方块包括沙、砾石、粘土、耕地、泥土、草方块、泥、泥砖,以及罕见的圆石和石砖。
- 可侵蚀的方块根据其密度具有不同的抗侵蚀性,但所有方块最终都会随时间推移而被侵蚀。
- 方块在侵蚀过程中会逐渐衰变为较弱的方块,然后消失。
- 方块在河床上游发生衰变。
- 靠近水的圆石和石砖会长出苔藓。
衰变层级:
- 圆石 -> 苔藓圆石 -> 砾石
- 石砖 -> 苔藓石砖 -> 砾石
- 路径 -> 草方块 -> 泥土 -> 粗泥 -> 泥 -> 砾石
- 砾石 -> 沙 -> 粘土(罕见)-> 空气/水
媒体
种子 4465334863609190468
已在 Minecraft 1.20.1 上测试
-388 73 258 - 巨大的瀑布覆盖着沼泽中一座山峰的侧面
-538 85 1133 - 瀑布填满了狭窄森林裂缝的底部
-638 72 1459 - 一条溪流在森林中找到了多条穿越树木的路线
灵感来源
技术说明
这个“核心模组”使用 Mixin 框架 向 Water 方块的 randomTick() 函数添加了代码。代码和功能结构旨在减少系统 CPU 占用,但仍可能会注意到 CPU 用量的增加。
Minecraft 游戏内 UI 显示的水位值与实际方块元数据相反。数据 level==1 显示为目标流体等级:7。数据 level==7 显示为目标流体等级:1。
randomTick() 仅由 Minecraft 运行时在玩家周围 128 个方块的半径内调用,因此侵蚀发生的概率设置得相当高。如果增加了随机刻距离或速度,概率应相应降低。
位于或低于世界海平面高度的水源方块会被忽略,以减少 CPU 占用。
许可证
版权所有 © 2020+ Brad Erickson (13rac1),并由本分支的贡献者延续。采用 GPLv3 许可,详见 LICENSE.txt。
Water Erosion Continued for Minecraft Java Edition
Water Erosion makes the world evolve with streams and waterfalls.
Find Forest brooks and Mountain creeks during your explorations. Dirt and sand
wash away to deepen the stream bed and cut banks into the environment. The
landscapes become more diverse and unique. Pass through a dry Desert valley one
day and find it flooded the next. A stream may even change direction to dry up
the original flow.
Water Erosion Continued is a fork and continuation of the original
Water Erosion mod by Brad Erickson (13rac1).
The original project stopped receiving updates after Minecraft 1.20.6. This
fork carries the mod forward to current Minecraft versions, starting with
1.21.1 for Forge, NeoForge, and Fabric. All credit for the original
design and implementation goes to the upstream author; this repository
continues the work under the same GPLv3 license.
Goal
Implement Erosion as though it were a regular Minecraft feature making the world
more dynamic. It should not break existing gameplay or enable cheating.
Features
- Water flowing over edges erode blocks below.
- Water flowing into a block wall will dissolve the wall.
- Water flow ends (level 7) dissolve the block below them to dig holes deeper
and potentially continue the flow.
- Water Sources dissolve blocks to the sides in the direction of air spaces.
- Erodable blocks include sand, gravel, clay, farmland, dirt, grass, mud, mud bricks, and,
rarely, cobblestone and stone bricks.
- 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.
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
Media
Seed 4465334863609190468
Tested on Minecraft 1.20.1
-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
Inspiration
- Reality
- Aquarela - Russian documentary about water
Technical Notes
This "core mod" adds code to the Water block randomTick() functions using the
Mixin framework. The code and functionality is structured to
reduce system CPU use, but a CPU increase may still be noticed.
The Minecraft in-game UI shows the opposite water level value than the true block
metadata. Data level==1 is displayed as Targeted Fluid level:7. Data level==7
is displayed as Targeted Fluid level:1.
randomTick() is only called by the Minecraft runtime for a 128 block radius
around the player, so the odds of erosion occuring are set fairly high. The odds
should be reduced if random tick distance or speed is increased.
Source water blocks at or below the world sea level are ignored to reduce CPU use.
License
Copyright 2020+ by Brad Erickson (13rac1), continued by the
contributors of this fork. Licensed GPLv3, see LICENSE.txt.
评论 0
登录后参与评分
还没有评论,来抢沙发吧