Back to mods
Chunk Corruption Preventor project artwork

CurseForge · Minecraft mod

Chunk Corruption Preventor

Attempts to prevent chunk corruptions by serialising the chunk again, and eliminating specific culprits rather than wiping the whole chunk

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

Quick answer

Which Chunk Corruption Preventor release matches 1.18.2?

Updated 11 months ago
Best match for your filters chunkcorruptionpreventor-1.0.0.jar
Game version 1.18.2
Loader Fabric

Chunk Corruption Preventor chunkcorruptionpreventor-1.0.0.jar targets 1.18.2 with Fabric. 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 Corruption Preventor 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 Fabric
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 Corruption Preventor chunkcorruptionpreventor-1.0.0.jar need?

chunkcorruptionpreventor-1.0.0.jar on 1.18.2. Every mod below is checked against that same setup.

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 Corruption Preventor without breaking your instance.

Built for Chunk Corruption Preventor chunkcorruptionpreventor-1.0.0.jar on 1.18.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use chunkcorruptionpreventor-1.0.0.jar. It targets 1.18.2 with Fabric; 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 chunkcorruptionpreventor-1.0.0.jar. It opens that exact file at the source.

About this project

What does Chunk Corruption Preventor add?

Chunk Corruption Preventor is a bugfix mod that detects when a chunk corruption is about to happen, and code-injects with a "Safe Serialize" method, so that only the failing element of the chunk will be wiped rather than the entire chunk.

The logic goes like this:

  • If a chunk's nbt is messed up after Mojang's code has serialized it,
  • Then serialize it again
  • If serialization fails again during the blockEntity section (for example)
  • Then do not save the specific blockEntity that caused the fail
  • And output loads of logging data to the console and chat

The intention is to help server admins and reduce the annoyance of chunk corruptions for players.

The player will receive chat output so they know what happened, they can ping an admin with the details, and they still have the rest of their chunk to play with while they wait for the admin to get online

If only one block is causing the issue, then there is no need to wipe the whole chunk!

This mod does not cause additional issues, but of course it may not work every time. If the chunk is already going to be wiped, then the game may as well try again. The whole "Safe Serialize" code is wrapped in a bunch of try/catch statements, which is ok because it doesn't run very often, and it also means there is good logging and it won't effect the map thread.

There is also no chance of an infinite loop here. Once "Safe Serialize" has run once for a saving chunk, it will not run again during the same cycle.

Project description from CurseForge.

Pick your setup

Chunk Corruption Preventor 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 Corruption Preventor versions and loaders

1 of 1 releases match

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