
CIT Resewn has two issues in large modpacks. First, it re-evaluates custom item textures every frame even when nothing has changed — this causes unnecessary CPU usage when browsing large inventories or EMI item grids. Second, it leaks over 1 GB of RAM per session by allocating objects into every ItemStack that are never freed.
This is a patch for https://modrinth.com/mod/cit-resewn
What does HTP CITOptimizer do?
Caches CIT evaluation results so repeat lookups are skipped, and fixes a massive memory leak. Significantly reduced GC pressure from eliminated per-frame allocations. Lower CPU usage when browsing large inventories or EMI item grids.
Your client will no longer freeze, crash, or lag after hours of gameplay requiring a restart due to CITResewn.
We were experiencing memory climbing steadily until it hits the heap limit causing stutters multiple times per day most noticable when relogging on servers.
Before HTP CITOptimizer:

After HTP CITOptimizer:

Created by the team at https://www.hacktheplanet.now
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as htp-citoptimizer-1.0.0.jar — drop this file into the mods folder
- Download size: 32 KB
- Download link checked 27 Aug 2026 — working
These come from our own check of the pack file, not from the source page.