Legacy Item Purger 1.0.1 (NeoForge 26.3)
Curse Maven Snippet
What's new
Legacy Item Purger 1.0.1 for Minecraft 26.3 (NeoForge 26.3.0.103+, Java 25).
- New: item stacks stored by mods are upgraded with Minecraft's own DataFixer before they load. Minecraft only upgrades vanilla data, so after a version jump (for example 1.21.1 -> 26.3) backpack contents, modded chests and modded saved data kept the old item format and failed to decode (e.g. enchanted items with the old
{levels:{...}}enchantment format were lost).- Modded saved data (
world/data/*.dat, e.g.sophisticatedbackpacks.dat) is upgraded and cleaned at server start, before any level loads. A backup<file>.dat.lip-backup-v<oldDataVersion>is written first. - Modded block entities and entities in region files are upgraded right before vanilla upgrades the chunk.
- Modded saved data (
- Fix: block entity inventories (chests, Sophisticated Storage, ...) are now cleaned before 26.x decodes them, so missing items get replaced or removed instead of being dropped silently.
- Respects
automaticanddryRunlike the rest of the mod.
Tested on a real 1.21.1 -> 26.3 server migration: all installed items in backpacks and chests survived, missing boss gear was replaced by vanilla gear.
Back up your world before applying changes.
Made with AI assistance (vibecoded) by Raffman180.
This mod has no additional files

