
ModsJava
Persistent Storage
Store variables between worlds. Free Minecraft Java mod for 1.18, 1.18.1, 1.18.2.
⬇ Download on ModrinthExtremely simple mod allowing the storage of variables between worlds. Currently only client side, but could support server in the future.
Adding Data:
PersistentStorage.put(String key, Object value)PersistentStorage.putTag(String tag)
Accessing Data:
PersistentStorage.get(String key)(ReturnsJSONElement)PersistentStorage.getTag(String tag)(Returnstrueif tag has been set)PersistentStorage.getBoolean(String key)(Returnstrueif the specified key
Verified by MCModsHub
- Ships as persistentstorage-1.0.2.jar — drop this file into the mods folder
- Download size: 7 KB
- Download link checked 6 Sept 2026 — working
These come from our own check of the pack file, not from the source page.