Corrupted chunks and how much of the world you can save

Errors & Fixes Reviewed September 6, 2026 2 min read

A world is stored as region files, each holding a block of chunks. Damage one and Minecraft either regenerates that area as fresh terrain or refuses to load it. Neither is silent, and both are recoverable to different degrees.

What you are seeing

  • Chunk file at [x,z] is missing block entity data in the console.
  • A square of terrain regenerated as new land, cutting a build in half.
  • The server crashes every time a specific player logs in or approaches an area.
  • Failed to check session lock or errors mentioning region/r.x.z.mca.

Why it happens

Region files are written continuously while the server runs. A process killed mid-write leaves one half-updated — which is why the Kill button, a crash during a save, and running out of disk space are the three usual causes. Normal shutdowns finish their writes and do not do this.

Recovery, in order of preference

  1. Restore from a backup taken before the corruption

    This is the only option that recovers the data intact. Everything below trades data for a world that loads.

  2. Delete only the damaged region files

    The console names them: r.-1.4.mca and similar. Deleting one region regenerates that area as new terrain and leaves the rest of the world untouched. You lose a 512×512 block square, not the world.

  3. Delete the player's data if it is one player crashing

    A corrupt playerdata file crashes the server when that person joins. Removing their .dat costs them their inventory and position, and costs nobody else anything.

  4. Delete level.dat_old and rename level.dat_old back

    If level.dat itself is damaged, Minecraft keeps the previous copy alongside it. This recovers world settings without touching terrain.

Take a copy of the broken world before you repair it

Every step above is destructive. Copying the world folder first costs disk space and means a failed repair is not also a lost world — you can always go back and try a different approach.

This is what backup routines are for

Corruption is not a maintenance failure you can prevent by being careful; it is what happens when a process is interrupted at the wrong microsecond. A daily backup turns it from a disaster into a fifteen-minute inconvenience, and that is the whole reason the routine exists.

How to confirm it worked

The server starts, players can walk through the affected area, and no region-file errors appear during a full save.