Dynamic Waters Forge Fix

Unofficial Forge 1.20.1 fix: Dynamic Waters river cuts use each biome's surface instead of grass

Dynamic Waters Forge Fix

Your Dynamic Waters rivers, the way they were meant to look — on Forge 1.20.1.

Dynamic Waters carves beautiful rivers into the world: gorges, valleys, waterfalls and deltas. But on Forge 1.20.1 a small bug makes every river cut fall back to grass, no matter the biome. Deserts get green riverbanks, snowy mountains get green gorge walls, badlands lose their terracotta.

This tiny mod fixes that. With it, river cuts take the biome's own surface again: sand in deserts, terracotta in badlands, snow, gravel and stone in the mountains.

Unofficial. Not affiliated with or endorsed by Dynamic Waters or its author. This mod contains no code from Dynamic Waters — you still need Dynamic Waters from its official page.


✨ Before and after

Before: grass on the walls of every river cut, in every biome.

After: a snowy mountain river with gravel and stone walls, as the biome intends:

Snowy mountain river with gravel and stone walls


🔧 What it does

  • Restores biome surfaces on Dynamic Waters river cuts (walls and banks carved by rivers).
  • Works on new chunks as soon as it is installed — no config, no commands.
  • Optional dependency: without Dynamic Waters it does nothing and does not crash.
  • Tiny and safe: a few KB, one small mixin, changes nothing else in Dynamic Waters or Minecraft.

🧠 How it works (for the curious)

Dynamic Waters looks up three Minecraft methods by reflection using their development names (updateXZ, updateY, tryApply). A real Forge 1.20.1 game uses different (SRG) names, so the lookup fails and Dynamic Waters logs:

[Dynamic Waters] Surface rules out of reach (java.lang.NoSuchMethodException: net.minecraft.world.level.levelgen.SurfaceRules$Context.updateXZ(int,int)); river cuts are dressed in grass.

This mod corrects those three names at the moment Dynamic Waters looks them up (m_189569_, m_189576_, m_183550_), so the surface rules work again. Every other lookup is left untouched.

✅ How to check it is working

Open logs/latest.log after creating or loading a world. You should see:

[Dynamic Waters Forge Fix] Dynamic Waters surface rules: 'updateXZ' -> 'm_189569_'

[Dynamic Waters Forge Fix] Dynamic Waters surface rules: 'updateY' -> 'm_189576_'

[Dynamic Waters Forge Fix] Dynamic Waters surface rules: 'tryApply' -> 'm_183550_'

…and the warning Surface rules out of reach should not appear anymore.

📦 Compatibility

Minecraft1.20.1
LoaderForge 47.x (tested on 47.4.28)
Dynamic Waters14.0.0 (tested in game) · 14.1.0 (same code, should work — not tested in game yet)
Install onthe side that generates the world: singleplayer client, or the server on multiplayer (installing it on clients too is harmless)

Tested in a large modpack together with Terralith, Distant Horizons, C2ME and Serene Seasons.

Known limitation: Dynamic Waters' water-particle code has a similar name issue (addAlwaysVisibleParticle). It already falls back to normal particles, so it is not changed in this version.

❓ FAQ

Do I need Dynamic Waters? Yes, to see any effect. Without it this mod simply does nothing.

Does it work on existing worlds? Yes, for chunks generated after installing it. Rivers already generated keep their grass.

Can I use it in my modpack? Yes! It is MIT licensed — include it freely.

Will this be needed forever? Hopefully not. It is a temporary workaround; once Dynamic Waters fixes it upstream, just remove this mod.

🐞 Issues and source

Found a problem? Please report it here, not to Dynamic Waters: https://github.com/Mago006/dw-forge-fix/issues

Source code: https://github.com/Mago006/dw-forge-fix

💙 Credits

  • Dynamic Waters by AdamNew — all the credit for the rivers goes to them.
  • Fix by Mago006 · MIT License.

Dynamic Waters Forge Fix Team

profile avatar
Owner
  • 3
    Projects
  • 376
    Downloads
Donate

More from Mago006