
Capability Fix Revived
An optimization mod for Forge 1.20.1 designed to eliminate entity capability lookup overhead.
Key Improvements & Safety Fixes:
Safer Caching: This version only caches active, present capabilities and automatically registers invalidation listeners. Cached references clear instantly when a capability is removed or invalidated, preventing memory leaks, stale states, or broken entity behavior.
Defaulted Configs: Includes a pre-configured default whitelist of verified capabilities (including Curios, Goety, Mowzie's Mobs, Celestisynth, and Goety Delight) to give players an immediate performance boost without requiring profiling.
No Background Overhead: The tracking and profiling engine only runs when actively triggered.
How to Use:
1. Start Recording: Run `/capability_fix_revived toggle_recording` in-game to begin.
2. Play the Game: Let the server run for 10-30 minutes. Don't just stand still (will still work but ye)
3. Generate Report: Run `/capability_fix_revived generate_report` to stop recording and write the data.
4. Configure: Open `config/capability_fix_revived/reports/capability_report.txt` and copy the IDs. Paste them into your `config/capability_fix_revived/capability_fix_revived-common.toml` whitelist.
MAKE SURE THEY'RE SAFE TO CACHE!
5. Apply: Run `/capability_fix_revived reload_config` to apply changes.
Credits:
Icy0x1 - Original Mod Author

