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. Supports Forge for 1.12+ and Fabric for 1.14+.
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 -> 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!
Media
Installation
Fabric versions
Download the current release water-erosion-x.x.x-fabric-x.x.x.jar
and add to your installation.
Forge versions
The Forge version for Minecraft 1.12.2 is a Coremod containing an embedded copy of the org.spongepowered.asm.launch.MixinTweaker library. It does NOT require MixinBootstrap.
The Forge versions for Minecraft 1.14.4+ require MixinBootstrap. Download the current release water-erosion-x.x.x-forge-x.x.x.jar
, then download the MixinBootstrap-1.0.0.jar
. Put both files in your MinecraftForge Mod folder.
TODO features
- Optionally drop items of eroded blocks
- Configurable Erosion odds and types - Slow, Medium(default), Fast, Custom - Version 1.1.2 for Forge 1.14+ adds a config file to enable/disable Farmland erosion. 1.2.0 will contain more options.
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.
Tutorial
Sand can be generated from gravel with a simple machine
Test Areas
Create each 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 -1988839586448825536
Tested on Minecraft 1.15.1
1052 79 229
- A Savanna stream near a town flows into a crevasse.1103 102 467
- A Savanna hilltop lake creates multiple waterfalls, which may change direction or dry up.1303 80 579
- A Savanna underground lake breaks through the hillside to create a waterfall.1309 89 753
- A Savanna source block flows through tunnel, then creates a small steam through trees to a pond.
Seed 837828468367153798
Tested on Minecraft 1.15.1
683 92 163
- A Giant Tree Tiaga hilltop lake creates multiple creeks around a Pillager Outpost.1424 89 7
- A Giant Tree Tiaga hilltop lake flows into an underground lake and to seaside wetlands.1973 93 634
- A Mountain lake creates a 30 block tall set of waterfalls into a cave and a forest.4378 70 2779
- A Tiaga underground lake flows out of both sides of a hill creating three waterfalls.4300 77 3511
- Three Plains lakes create a short river of rapids.
Closed Source for now, but will be open sourced soon.
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.
Please file bug reports in the issue queue. Thanks!
Is this compatible with Water Physics Overhaul?
https://www.curseforge.com/minecraft/mc-mods/water-physics-overhaul
any chance 1.18?
Is there a way to add new blocks to be eroded?
When making a modpack there is no 1.16.5 version for forge, from the comments this seems to not be intentional.
In reply to YoungCyaniide:
there's a 1.16.4 forge version, idk why it doesnt show on the project page, it will work on 1.16.5 but he needs to update the tag for 1.16.5 for modpacks
Hey, I noticed a reply to the top comment on the youtube video mentioned a mod called sediment mod, did a bit of searching and found a bukkit plugin that was abandoned around 2014 in favour of developing for Minetest, which was also abandoned some time in 2015. Might be worth checking it out as it does support deposition of materials, however I do not know if it keeps track of what blocks were moved around.
Link to the github page for the bukkit plugin: https://github.com/sofar/Sedimentology
Also commented this on the youtube video but commenting here just in case it was deleted.
Can u updated the mod 1.17.1 or maybey the mod are to unstable to update to 1.17.1 and also update the mod version 1.12.2 too because alot of mod are version 1.12.2 because it is a stable version?
plz make a fabric version of this. this is one of the most unique mods ive seen
In reply to redrangerj09:
woops nvm im blind lol
Really nice mod
May I suggest possible compatibility with Streams and Upstream?
They change water to flow and act more like actual rivers would in real life
These mods working together would be SOOOO good
Good afternoon, I ran into a problem that I can't adjust the erosion rate. How can I adjust the speed of this process? I need it for the modpack.
In reply to arsstels:
Hey! It's on my todo list. Been caught up on other projects. Will be getting back to this mod https://github.com/13rac1/Minecraft-Water-Erosion/issues/1
Suggestion; add tree roots which prevent erosion, optionally living grass/trees prevent erosion
In reply to HiggsBonbon:
Yes! I want to implement tree roots! I haven't been able to prioritize any new features for this mod lately.
In reply to 13rac1:
Nice! Hope you continue the good work.
Does the 1.16.4 Forge file work on 1.16.5 Forge?
In reply to awesomeEVAN555:
Probably? I'm going to update it anyway though later today.
What if erosion moved blocks rather than delete them? When a block of sand, gravel, or dirt erodes, it has a chance to be turned into sediment and carried downstream. This could stop blocks from being deleted permanently and leading up to a chaotic mess.
In reply to project_aleph:
Follow Feature: Optionally drop items of eroded blocks for when I get to this feature.
Would it be possible to make rain erode things too? It would be slower and even more infrequent. it could be a neat feature!