Modrinth · Fabric, Forge, NeoForge

WorldgenFeatureFix on your Minecraft server

WorldgenFeatureFix runs on Minecraft servers with Fabric or Forge or NeoForge. Order your server, set the loader in the panel and install the mod with one click in the mod browser.

Fix custom world generation datapack crashes when using minecraft:lake feature ( MC-273228 and MC-272370)

Downloads
299.1K
Author
SimonShiki
Loader
Fabric, Forge, NeoForge
Minecraft
1.21 – 1.21.9
Updated
–

Setup

Install WorldgenFeatureFix on your server

The server and players need the same loader and Minecraft version. Back up the world before adding or updating mods.

  1. 01

    Configure

    6 GB of RAM is preselected. You choose the term and add-ons and pay by credit card or PayPal.

  2. 02

    Set the loader

    In the panel, set the server software to Fabric or Forge or NeoForge and choose the matching Minecraft version, for example 1.21.9.

  3. 03

    Install the mod

    Search the mod browser for “WorldgenFeatureFix” and install the release for your loader. Alternatively, upload the .jar to the mods folder via SFTP. Required dependencies are listed on the project page.

  4. 04

    Connect

    WorldgenFeatureFix is not needed on the client. Players connect using the server address from the panel.

On the server
Required
On the client
Not needed
Loader
Fabric, Forge, NeoForge
Minecraft
1.21.9, 1.21.8, 1.21.7 +9 more
License
Creative Commons Zero v1.0 Universal

The panel

Install mods, find errors.

Real screenshots from the Mado panel. Both come with every Minecraft server.

Mod browser

Modrinth and CurseForge, right in the panel.

The browser filters by your Minecraft version. Install mods with one click, without uploading .jar files.

Browser in the Mado panel with search, a CurseForge or Modrinth source switch and install buttons.

AI crash analysis

When a mod crashes, the analyzer reads the log.

Mods often fail on a wrong loader version, Java version or missing dependency. The analyzer names a likely cause and suggests a fix.

Optimization page in the Mado panel with the AI Log Analyzer enabled and a “Server Crashed” notice with an “Analyze Now” button.

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

WorldgenFeatureFix · Modrinth
Original description by the project author

WorldGenFeatureFix

Tips: Mojang has marked this problem as fixed since 26.1 Snapshot 6, you may don't need this mod in 26.1 anymore.

What this mod fixes?

When custom world generation datapack uses minecraft:lake or minecraft:snow_and_freeze placed feature with water, The chunk generator crashes. (See MC-273228 or MC-272370 for more details).
Inspired by This pull request, This mod apply mixins to make them work.

Techinal Details

In version 1.21, chunk generation has been highly optimized, which unintentionally breaks the freeze detection of the lake feature since it may trying to access inaccessible chunks. However, since Mojang only uses the lake feature for lava lakes at now, this issue does not occur in vanilla Minecraft — but it does affect custom world generators! This mod applies mixins that fallback to getUncachedNoiseChunk, allowing the lake feature to work correctly again.

Disclaimer

However, The PR also mentioned that LakeFeature is deprecated and vanilla has moved away from using it for anything except for lava lakes.
The error for unsafe chunk gets removing here is an intentional safeguard against bad code, such as that in the dead path in LakeFeature when creating water lakes. While it may appear to 'fix' the problem at hand it is not a proper solution and will cause other more serious problems to go undetected. Use at your own risk. (At least it works perfect in my server)

FAQ

WorldgenFeatureFix questions

Question not listed? Ask our team.

WorldgenFeatureFix server crashes on startup – what to do?

Common causes: the loader or Minecraft version does not match the mod file, a dependency is missing, or RAM is too low. Check the log (latest.log) for “OutOfMemoryError”, “Mixin” or missing mods. At Mado, the AI crash analysis reads the log and suggests a cause. You can change the loader and version in the panel.

Which loader does WorldgenFeatureFix run on?

According to Modrinth, WorldgenFeatureFix supports Fabric, Forge, NeoForge for Minecraft 1.21.9, 1.21.8, 1.21.7. Forge and Fabric files are not interchangeable: pick one loader for the server and clients.

How much RAM does a server with WorldgenFeatureFix need?

As guidance, 4–6 GB for a server with this mod. This is an estimate, not a measured minimum. More mods, many players and long view distances need more. The spark profiler shows whether a mod is costing tick time.

Ready for your server with WorldgenFeatureFix?

6 GB of RAM from €12.00 per month. 35% off your first month with MADO35.

Order server