Back to mods
FastChunkGen project artwork

CurseForge · Minecraft mod

FastChunkGen

FastChunkGen is a unofficial forge port of C2ME with fixes, stability and performance improvements.

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

Quick answer

Which FastChunkGen release should I use?

Updated 2 days ago
Latest stable file fastchunkgen-0.1.4-all.jar
Game version 1.20.1
Loader Forge

fastchunkgen-0.1.4-all.jar targets 1.20.1 with Forge. 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 FastChunkGen 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 Forge
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 fastchunkgen-0.1.4-all.jar need?

fastchunkgen-0.1.4-all.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 FastChunkGen without breaking your instance.

Built for fastchunkgen-0.1.4-all.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use fastchunkgen-0.1.4-all.jar. It targets 1.20.1 with Forge; 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 fastchunkgen-0.1.4-all.jar. It opens that exact file at the source.

About this project

What does FastChunkGen add?

FastChunkGen

FastChunkGen basically moves minecraft's chunk processing off the main server thread. world gen runs on multiple worker threads, and chunk reads/writes happen asynchronously so it doesn't freeze up the main tick loop!

It's a unofficial forge port of C2ME (by RelativityMC), but fixed up and improved for forge.
Don't install the other ports, install this one!

Patreon

What it does

  • Generates chunks across multiple threads instead of just one (scales based on cpu cores and ram).
  • Async chunk reads & writes so autosaving doesn't stall the server.
  • Puts lighting updates on a dedicated thread.
  • Fixes a TON of vanilla thread-safety bugs that only happen once you run worldgen in parallel (structure pieces, shared randoms, weighted lists, etc).
  • Cuts down allocations in surface rules, nbt handling, and noise sampling.

How much TPS/loading speed u gain depends on your cpu and worldgen mods, but yeah overall this mod WILL make chunks load faster.

What's different from official C2ME

Unlike a lot of c2me ports out there, this port actually fixes and improves upon the original mod for the forge environment!

  • Forge chunk data isn't lost anymore: original c2me's async save path was just a copy of vanilla that omitted Forge's ChunkDataEvent.Save. any mod saving chunk data lost it on every save. fastchunkgen actually fires the event on the main server thread.
  • Block entity saving fixed: block entities are serialized on the main server thread now. upstream called saveWithFullMetadata() off-thread which caused races and corruption with forge capabilities. sections, heightmaps, palettes, and structures still stay async though.
  • ChunkDataEvent.Load deferred: runs on the server thread before the chunk goes live.
  • Fixed infinite loop error: fixed a bug where an exception in worldgen could trap a worker thread in an infinite loop.
  • Fixed scheduler deadlocks: fixed an issue where a single exception permanently froze all chunk scheduling.
  • Fixed lock leaks: neighbour locks don't leak anymore when a gen task throws an error (which previously broke that region forever).
  • Fixed ticket leaks: off-thread chunk requests clean up their tickets on failure instead of leaking memory.
  • Better server shutdown: dedicated server doesn't instantly run System.exit(0) anymore so your exit codes and shutdown logs actually survive. a 30s watchdog still forces exit if something hangs.
  • proper logging: everything logs through SLF4J with the mod name attached instead of raw stack traces spammed to stderr.

Deliberately did NOT port client-side or unrelated modules: no-tick view distance, client view distance uncapping, server utility commands, and native math.

Compatibility

Tested alongside 480+ mods. generated 5000+ chunks and played around with zero issues!

Fastchunkgen also checks installed mods on startup to auto-resolve conflicts:

  • ModernFix: both mods optimize the same three surface rule and material rule methods. FastChunkGen's versions take priority! set generalOptimizations.overrideModernFixWorldGenAllocations = false if u want ModernFix to handle them instead. Regarding proto chunks, turn it off for faster chunk gen.
  • Radium / Lithium / Canary: our duplicate NBT copy patch and chunk priority patch are disabled automatically if any of these mods are installed.
  • ThreadTweak, FastNoise, FerriteCore: no overlapping methods, works fine out of the box.

Before you install!

BACK UP YOUR WORLD. upstream C2ME is alpha tech and anything that rewrites chunk saving deserves a backup first just in case.

Configuration

config generates at config/fastchunkgen.toml on first launch. everything has its own toggle, and defaults are set to the literal string "default". Replace it with a real value to override it.

Risky stuff is OFF by default:

  • ioSystem.gcFreeChunkSerializer - allocation-free chunk writer that can't fire ChunkDataEvent.Save. mods lose per-chunk data with this on.
  • ioSystem.recoverFromErrors - auto-regens corrupted chunks instead of crashing, destroying whatever was built there.
  • fixes.enforceSafeWorldRandomAccess - hard crashes on unsafe off-thread world random access instead of logging a warning. good for finding broken worldgen mods.

Credits

C2ME by RelativityMC and ishland (MIT License). Forge port groundwork from sj-hub9796/c2meF. MIT licensed.

Welp.. this is the last archived project I had. It feels nice to be free.. ^_^

Project description from CurseForge.

Pick your setup

FastChunkGen by Minecraft version and loader

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

1 available setups

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

Recent files

FastChunkGen versions and loaders

6 of 6 releases match

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