Back to mods
Tom's Simple Storage performance optimization project artwork

CurseForge · Minecraft mod

Tom's Simple Storage performance optimization

Fixed performance issues with Tom's Simple Storage

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Tom's Simple Storage performance optimization release matches 1.20.1 Forge?

Updated today
Best match for your filters TomsStoragePerformanceOptimization-1.20.1-1.2.0.jar
Game version 1.20.1
Loader Forge

Tom's Simple Storage performance optimization TomsStoragePerformanceOptimization-1.20.1-1.2.0.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Tom's Simple Storage performance optimization required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Tom's Simple Storage performance optimization TomsStoragePerformanceOptimization-1.20.1-1.2.0.jar need?

TomsStoragePerformanceOptimization-1.20.1-1.2.0.jar on 1.20.1 Forge. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Tom's Simple Storage Mod first. We found matching files for this game-version and loader setup. 8 come through another mod in the chain.

1 listed on this file 8 pulled in by those mods
Tom's Simple Storage Mod Needed by Tom's Simple Storage performance optimization TomsStoragePerformanceOptimization-1.20.1-1.2.0.jar
required
Matching file found Matched file: Tom's Storage 1.20-1.7.1
EMI Needed by Tom's Simple Storage Mod
pulled in
Matching file found Matched file: emi-1.1.24+1.20.1+forge
Just Enough Items (JEI) Needed by Tom's Simple Storage Mod
pulled in
Matching file found Matched file: 15.75.0.244 for Forge 1.20.1
Architectury API Needed by Roughly Enough Items Fabric/Forge/NeoForge (REI)
pulled in
Matching file found Matched file: [Forge 1.20(.1)] v9.2.14
MezzConfig Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig 0.7.1 for Forge 1.20.1
MezzConfigGUI Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig GUI mc1.20.1-0.7.2 for Forge

8 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Tom's Simple Storage performance optimization without breaking your instance.

Built for Tom's Simple Storage performance optimization TomsStoragePerformanceOptimization-1.20.1-1.2.0.jar on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use TomsStoragePerformanceOptimization-1.20.1-1.2.0.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Tom's Simple Storage Mod first. We found matching files for this game-version and loader setup. 8 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside TomsStoragePerformanceOptimization-1.20.1-1.2.0.jar. It opens that exact file at the source.

About this project

What does Tom's Simple Storage performance optimization add?

Provides optimizations for Tom's Simple Storage and adds a more convenient mouse gesture that allows players to quickly extract items from the terminal by Shift-dragging the mouse.

Here are the optimizations.

No. Target Original Problem Change Effect
1.1 Terminal rescan · getStacks() dirty flag Every read sets updateItems = true; the menu reads it every tick, so while the screen is open the whole item index is rebuilt every tick. Inject at the head of getStacks(): set the flag only once per rescanIntervalTicks (default 10); otherwise return the current items map. Includes a time-wrap guard (now < last forces a rescan). Rescans drop from 20/s to 2/s; the list can lag up to 0.5 s; return values unchanged.
1.2 Terminal rescan · interval config The cadence is fixed at one tick and cannot be tuned to the network size. Add throttleRescan and rescanIntervalTicks (1–200); 1 = stock every-tick behaviour. Trade freshness against cost; can be disabled on its own.
2.1 Slot lookup · prefix-sum cache Every slot lookup has to add up invSizes from zero to find the container. Build a base[] prefix-sum array on first use; invalidate it after refresh / clear / add; do not build it for 8 containers or fewer. Later lookups use binary search; the cache is rebuilt only when the network structure changes.
2.2 Slot lookup · getStackInSlot Linear scan; the terminal calls it for every slot when rebuilding the item list. Binary-search the container and compute the local slot, then call the same handler. O(containers) → O(log containers) per lookup; same container and slot returned.
2.3 Slot lookup · insertItem Linear scan; terminal inserts, ItemHandlerHelper.insertItemStacked and hopper inserts all use it. Same binary lookup, then forward. O(N) → O(log N) per insert path.
2.4 Slot lookup · extractItem Linear scan; terminal pulls and hopper extraction use it. Same binary lookup, then forward. O(N) → O(log N) per extract path.
2.5 Slot lookup · getSlotLimit Linear scan; used by insert and hopper limit queries. Same binary lookup, then forward. O(N) → O(log N) per query.
2.6 Slot lookup · isItemValid Linear scan; used by pre-insert validation. Same binary lookup, then forward. O(N) → O(log N) per check.
2.7 Slot lookup · small networks and reentrancy Linear scan is faster on small networks; the calling reentrancy guard must be preserved; negative and out-of-range slots must behave as before. Networks of 8 containers or fewer return to the original method; the fast path also sets calling = true/false; negative and out-of-range slots go to the original logic. No slowdown for small networks, no behaviour change, recursion guard intact.
3.1 Sync diff · rescan sequence The menu cannot tell whether the item map was just rebuilt. In updateServer, record updateItems at HEAD and increment changeSeq at RETURN only if a rescan really ran. Gives the menu a precise "map updated" signal without extra scanning.
3.2 Sync diff · skip idle comparison Every tick it walks all item types, builds a found set, then clears and copies the whole map. Redirect TerminalSyncManager.update; skip it when changeSeq has not changed. O(item types) per tick → once per rescan (default 2/s); saves about 5/16/50/150 µs per tick at 100/500/1000/3000 types.
3.3 Sync diff · search bypass A search text change must be synced immediately and cannot be skipped. Always call the original update when extraSync != null. Search box behaves exactly as before.
3.4 Sync diff · fallback and safety resync If the rescan hook never fires, skipping could leave the screen stale. Force a sync at least every 40 ticks; if the terminal does not implement the interface, always call the original update. Worst case updates once every 2 s; the screen cannot freeze.
3.5 Sync diff · config The skip cannot be disabled on its own. Add skipUnchangedSync, default on. Restores the stock per-tick diff when turned off.
4.1 Shift-drag · start conditions The terminal has no Shift+left-drag quick-extract gesture. Inject at the RETURN of m_6375_: start when button 0 + Shift + a storage slot is hovered + the carried stack is empty. Normal clicks and Shift+single-click are unaffected; holding an item does not start the drag.
4.2 Shift-drag · new-slot detection No per-slot handling while dragging. Inject at the TAIL of m_88315_: read the hovered slot every frame; send one SHIFT_PULL when the cursor enters a new slot (one stack). Dragging across slots extracts one stack from each.
4.3 Shift-drag · dedupe and first slot Dragging back to a visited slot would pull again; the first slot is already handled by the stock Shift+click. Keep a Set<Integer> of slots handled in this drag; add the first slot when the drag starts. No double pull on the first slot; no repeats when dragging back.
4.4 Shift-drag · end conditions and config State must be cleared on release; the gesture should be optional. End and clear on left-button or Shift release; add shiftDragExtract, default on. The gesture can be stopped at any time and disabled on its own.
4.5 Shift-drag · server compatibility A custom network action might require the server to install this mod too. Reuse the stock SHIFT_PULL action. Works against a server without this mod; only the client needs it.
4.6 Shift-drag · client isolation A dedicated server has no client screen class. Put the mixin in the client section of mixins.json. Dedicated servers never load the client mixin.
5.1 Compatibility · injection surface Optimization mods often inject Minecraft, Forge or other mods and fight over injection points. Inject only the four TSS classes; all injection points use remap=false + require=0. No Minecraft, Forge or other-mod injections; if a target method changes, that injection falls back to stock.
5.2 Compatibility · optional client Forge defaults to MATCH_VERSION; a server with the mod and a client without it shows a red X or refuses the connection. Set displayTest="IGNORE_ALL_VERSION". The optimization works with a stock client; the gesture is client-optional.
5.3 Compatibility · independent switches There is no way to isolate one change when diagnosing. enabled plus throttleRescan / fastSlotLookup / skipUnchangedSync / shiftDragExtract. Each part can be turned off on its own.

Tom is an excellent creator because he has handled the vast majority of the issues very well in the higher versions.

Project description from CurseForge.

Pick your setup

Tom's Simple Storage performance optimization by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Tom's Simple Storage performance optimization versions and loaders

2 of 2 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.