Back to mods
project-1477346 project artwork

CurseForge · Minecraft mod

project-1477346

WorldGenFeatureFix

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which project-1477346 release should I use?

Updated 9 months ago
Latest stable file worldgenfeaturefix-neoforge-1.21-1.0.1.jar
Game version 1.21.2-Snapshot, 1.21, 1.21.6-snapshot
Loader NeoForge

project-1477346 worldgenfeaturefix-neoforge-1.21-1.0.1.jar targets 1.21.2-Snapshot, 1.21, 1.21.6-snapshot with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is project-1477346 required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does project-1477346 worldgenfeaturefix-neoforge-1.21-1.0.1.jar need?

worldgenfeaturefix-neoforge-1.21-1.0.1.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add project-1477346 without breaking your instance.

Built for project-1477346 worldgenfeaturefix-neoforge-1.21-1.0.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use worldgenfeaturefix-neoforge-1.21-1.0.1.jar. It targets 1.21.2-Snapshot, 1.21, 1.21.6-snapshot with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside worldgenfeaturefix-neoforge-1.21-1.0.1.jar. It opens that exact file at the source.

About this project

What does project-1477346 add?

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)

Project description from CurseForge.

Pick your setup

project-1477346 by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

58 available setups

Showing the newest 12 of 20 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

project-1477346 versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.