Back to mods
Chunk Library project artwork

CurseForge · Minecraft mod

Chunk Library

A library for tracking a chunk's age and regenerating it with various configuration options.

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

Quick answer

Which Chunk Library release should I use?

Updated 1 year ago
Latest stable file chunklibrary-1.21.1-1.2.0a.jar
Game version 1.21.1
Loader NeoForge

Chunk Library chunklibrary-1.21.1-1.2.0a.jar targets 1.21.1 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 Chunk Library 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 Chunk Library chunklibrary-1.21.1-1.2.0a.jar need?

chunklibrary-1.21.1-1.2.0a.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 Chunk Library without breaking your instance.

Built for Chunk Library chunklibrary-1.21.1-1.2.0a.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use chunklibrary-1.21.1-1.2.0a.jar. It targets 1.21.1 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 chunklibrary-1.21.1-1.2.0a.jar. It opens that exact file at the source.

About this project

What does Chunk Library add?

Chunk Library

A library focused on tracking a chunk's age since being loaded and implementing chunk regeneration depending on the externally set ConfigAPI settings. By itself, this mainly just tracks a chunk's age and allows for manual chunk resetting. For full use, you want to use https://www.curseforge.com/minecraft/mc-mods/unclaimed-chunks-regenerate or write something that utilizes this library's features!

KEY FEATURES:

  • Adds NeoForge events for initial chunk loading.

  • Adds hook for regenerating a chunk in a given dimension

  • Adds /chunklibrary commands for regenerating a chunk, changing it/the world's age, etc.

  • Supports modded dimensions

  • Injects a random seed into the ores, trees, and animals upon chunk regeneration

  • Teleports and protects entities from suffocation damage for 100 ticks following a chunk regenerating

  • Public methods and a ConfigAPI to allow for external mod hooks (KubeJS, non-AccessTransformer Mixin, etc.)

NOTE: For performance and compatibility, chunk regeneration occurs when it is being loaded. This means that to regenerate a chunk, it must first be unloaded. This SIGNIFICANTLY reduces performance overhead. Entities are preserved, but blocks AND structure features are regenerated as if the chunk was never loaded before. This behaviour also ensures that compatability is entirely maintained.

This mod directly interfaces with Minecraft's internal chunk loading/generating features. When random seeds are injected, the same amount of random.next()/etc. are used which maintains the original Minecraft seed determinism. Additionally, because of where the hooks are used and a lack of overwriting features, this mod should be compatable with everything. For performance, air blocks are scanned when a chunk is first generated and cached. On a rolling, ConfigAPI-configurable basis, chunks that are at 90% of their age maturity are randomly selected and scanned for changes. Only after a ConfigAPI-configurable threshold of +/- total air block change is met will a chunk actually be flagged for regeneration. This saves overhead by not needlessly regenerating old, still-untouched chunks.

If you have requests, please submit an issue on the GitHub.

Project description from CurseForge.

Pick your setup

Chunk Library 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

Chunk Library versions and loaders

5 of 5 releases match

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