r/MinecraftMod • u/Jinxsyns • 4d ago
Random lightbulb
Minecraft uses a "garbage collector" for clearing unneccesary things from memory to keep things running smoothly. Could a garbage collector for say idk blocks removed in a mod update due to changes or some other reason that could run when the world loads and do checks for those kinds of blocks, items, or otherwise with a precheck to see if you ran an update to avoid having to constantly worry about stopping it and then when it runs if it finds mismatched items or removed blocks it just auto junks those things so the world doesn't bug out?
3
u/Dadamalda 4d ago
Garbage collection is a memory management process, not a save data fixing process. It mostly just makes sure your RAM doesn't fill up.
A mod that checks whether the registries have changed and warns you is possible tho. I'm not sure if it exists yet.
Vanilla already turns missing blocks/items into air, but there is a bug sometimes preventing worlds from loading if a dimension was removed. ModernFix fixes that one.
I usually just copy my instance before doing mod updates so that I can go back if something goes wrong. It's even better on Linux with btrfs, because it costs you almost no extra disk space if you use "clone instead of copy"