LighterCitadel is an optimization mod specifically made for the infamous Citadel mod.
Citadel does some unnecessary work when nothing is happening. This mod skips it. Functionality wise, nothing should change!
Some stuff that this mod helps with:
- Citadel checks every entity every tick to see if their tick rate is modified. Now it stops before it checks, if there's no modifiers are active.
- Citadel has some allocations that can seriously introduce some GC pressure. This mod optimizes em.
- Tooltip hover animations use primitive collections instead of boxed ones, so a lot less garbage per tick.
- Patreon follower rendering no longer builds a username string for every player, every frame.
- Memory leak fixes as well. One map never got cleared, now it does. Then if you disconnect or unload a world, some entities could get stuck in the tick list. That's fixed as well.
Everything is configurable in config/citadel-optimizer.toml. Most of it is on by default, one renderer optimization is opt in. Changes need a restart.

