DontCrashTom (Fixes for Tom's Simple Storage Mod)
Modby Navrelis
Fixes stability issues in Tom’s Simple Storage. (Will be forked soon)
Description
Don’t Crash Tom (NeoForge 1.21.1)
A micro patch for Tom’s Simple Storage that stops a rare but annoying crash from BlockCapabilityCache when chunks unload, dimensions change (portals), or capability caches are invalidated.
What it fixes
- Tom’s Simple Storage PlatformInventoryAccess.BlockInventoryAccess calls itemCache.getCapability() even after the cache is invalid.
- When the cache is dead, NeoForge throws an
IllegalStateException, crashing or kicking the server/client. - This mod intercepts tracker() and exists() and bails out if the cache is null/invalid instead of touching the dead cache.
Scope
- Stability-only. No gameplay, balance, loot, GUIs, or configs.
- Safe to add to existing worlds; remove anytime once upstream includes the fix.
- Tiny footprint: just a mixin that guards the capability lookup.
Requirements
- Loader: NeoForge 21.1.x
- Game: Minecraft 1.21.1
- Target mod: Tom’s Simple Storage (tested with 1.21-2.2.3). Other minor versions likely fine as long as the same BlockInventoryAccess class/methods exist.
Compatibility
- No worldgen, no items/blocks, no mixins beyond Tom’s Simple Storage PlatformInventoryAccess.BlockInventoryAccess.
- Should coexist with other storage/network mods and general optimization mods.
How to tell it worked
- The specific BlockCapabilityCache crash on chunk unload/portal travel no longer occurs.
- Log line on load: “DontCrashTom loaded - Tom’s Storage BlockCapabilityCache fix active”.
- Occasional debug log when it prevents an invalid cache access (can be ignored).
Why you’d want this
- Prevents unexpected crashes on busy servers where chunks unload/reload frequently or players portal around.
- Zero configuration, zero gameplay impact; pure stability patch.
License / Credit
- License: All Rights Reserved (matches upstream policy of the source assets).
- Author: Navrelis
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Ethecore
Adds an animation and model system, as well as other utilities.
Subtle GUI Tweaks
Adds subtle GUI animations that are not tiring to the eyes
Minecolonies Questline
Add a questline for Minecolonies.
Gallant Tireless Altruist
This mod introduces GTA5-style kill effects and other screen visual enhancements.
Simple Magnet
A simple item magnet mod
Applied Soul
Added corresponding AE2 disks for Industrial Foregoing: Soul