Troubleshooting ⏱️ ~7 min read

Minecraft Modpack Save Corruption and Inventory Recovery Guide

A practical recovery guide for when a save gets corrupted or a full inventory disappears mid-playthrough. Covers damage assessment, backup restoration, corrupted chunk removal, NBT-based inventory recovery, and automatic backup setup.

📑 Contents (9 sections)
  1. Before You Start — Identify the Type of Damage
  2. The Save Folder Structure
  3. Step 1 — Try These First
  4. Step 2 — Chunk Corruption
  5. Step 3 — Inventory Loss
  6. Step 4 — A Specific Block or Machine Won't Work
  7. Prevention — Backups
  8. Closing
  9. Related Reading

Before You Start — Identify the Type of Damage

'My save is corrupted' covers four different situations. Identify which one you have before picking a recovery method.

  • A. World won't load at all: stuck on 'Loading world...' or an instant crash
  • B. Crashes only at a specific location: everything else is fine → likely chunk corruption
  • C. Inventory gone: the world loads fine, but items vanished after a death or dimension change → player data or a mod issue
  • D. One block/machine stops working: an automation line halts or a machine's GUI won't open → possibly that block's stored data
  • Before anything else — copy the entire save folder somewhere safe. Recovery attempts making things worse is common. With an untouched copy you can always start over.

    The Save Folder Structure

    saves//
    ├── level.dat              ← world metadata (time, gamerules, world settings)
    ├── level.dat_old          ← the previous level.dat, kept automatically
    ├── playerdata/            ← per-player data (inventory, position, health)
    │   └── .dat
    ├── region/                ← overworld chunk data
    │   └── r.0.0.mca          ← one region file = 32×32 chunks
    ├── DIM-1/region/          ← Nether chunks
    ├── DIM1/region/           ← End chunks
    ├── data/                  ← additional saved data (vanilla and mods)
    ├── stats/                 ← statistics
    └── advancements/          ← advancements
    

    Mod-added dimensions are usually stored separately under dimensions///region/.

    Step 1 — Try These First

    Roll back to level.dat_old

    When Minecraft writes a new level.dat, it keeps the previous one as level.dat_old. If level.dat is damaged — the world vanished from the list, or loading fails:

  • Close Minecraft
  • Rename the current level.dat to something else (e.g. level.dat.bak)
  • Rename level.dat_old to level.dat
  • Try loading again
  • If it works, you're back at the previous save point. This only helps with level.dat damage — it does nothing for chunk or player data corruption.

    Check for backups made by a backup mod

    Some modpacks bundle an automatic backup mod (for example FTB Backups). Look for a backup folder (backups/ or similar) inside the instance. If one exists, extracting the most recent healthy backup over the world folder is the fastest and safest fix.

    If there's no backup, continue.

    Step 2 — Chunk Corruption

    If crashes only happen near specific coordinates, the chunk at those coordinates is the likely culprit.

    Coordinate → region file

    One region file holds 32×32 chunks, i.e. 512×512 blocks, and is named r...mca.

    For a crash at X=520, Z=-340:

  • regionX = floor(520 / 512) = 1
  • regionZ = floor(-340 / 512) = -1 (negatives round down)
  • file = r.1.-1.mca
  • Removing the damaged chunk

    Method 1 — MCA Selector (recommended)

  • Get MCA Selector (free, open source)
  • Open the world folder and navigate to the problem coordinates
  • Select the chunk and delete it
  • Save, then launch the game → that chunk regenerates
  • Deleting per-chunk keeps the blast radius as small as possible.

    Method 2 — delete the whole region file Crude but fast. Back up the r.1.-1.mca you calculated, then delete it — the entire 512×512 block area regenerates.

    ⚠️ Everything in a deleted chunk is gone, including a base built there. Deleting a whole region file affects a far larger area, so prefer MCA Selector where you can.

    Step 3 — Inventory Loss

    Recovering at the death spot

    If the pack includes a grave mod, your inventory is waiting at the spot you died. [Corail Tombstone](/en/mods/corail-tombstone/), for example, places a grave on death — and a player's grave can't be broken outside Creative, so there's no rush to get back.

    If you can't find the spot:

  • [Xaero's Minimap](/en/mods/xaeros-maps/) death waypoint — a skull waypoint is created automatically when you die
  • Note the coordinates from F3 before risky trips
  • When there's no grave and the items are gone — NBT editing

    With no grave mod and the drops already despawned, editing playerdata/.dat directly with NBTExplorer or NBT Studio is what's left.

  • Fully close the game first (edits made while it runs get overwritten on save)
  • Copy the .dat file before touching it
  • Open the file and find the player's inventory entries
  • Duplicate an existing item entry and change its values rather than hand-typing new tags. The item storage format has changed between Minecraft versions, so typing fields from memory is a good way to corrupt the file
  • Treat this as emergency repair for a genuine loss. Start conjuring items freely and the pack's progression stops meaning anything.

    Finding item IDs

    Enable F3+H (advanced tooltips) in-game and item tooltips show the modid:item_name ID. Use that ID directly when editing.

    Step 4 — A Specific Block or Machine Won't Work

    Try in order

  • Quit, relaunch, and re-enter the chunk
  • If it's still dead, break and re-place the machine. Empty its contents first — whether contents survive being broken varies by mod
  • If that machine is causing a crash, get the mod name out of the crash report and follow [Mod Conflict Troubleshooting](/en/guides/mod-conflict-troubleshooting/)
  • If nothing works

    Deleting that chunk with MCA Selector is the last resort. The machine and everything in it is lost, but that beats losing the world.

    Prevention — Backups

    Recovery always costs hours. Backups are the only defense that reliably pays.

    Automatic backups

    A backup mod such as FTB Backups archives the world on an interval; interval and retention are configurable in the mod's settings. Don't keep every copy inside the instance — keep at least one outside it (external drive, cloud). Instance folders do get wiped.

    Copy before you touch anything

    Recovery attempts frequently make things worse. Copy the save folder before you start. This one habit prevents most worst cases.

    Cloud sync caveat

    Keeping the modpack folder inside a live-sync folder (OneDrive, Google Drive) means sync can collide with the game writing files. Exclude the modpack folder from sync and upload backups separately.

    Closing

    Most save corruption is handled by narrowing the damage and cutting out just that part. Writing off the whole world is rarer than you'd think. The order never changes — make a copy first, identify the damage type, then start with the narrowest fix.

    Related Reading

  • [Modpack Installation Troubleshooting](/en/guides/modpack-installation-troubleshooting/) — problems before the game starts
  • [Mod Conflict Troubleshooting](/en/guides/mod-conflict-troubleshooting/) — reading crash reports
  • [Adding Mods to a Modpack](/en/guides/adding-mods-to-modpack/) — backing up and adding safely