kuba6000 / Mobs-Info

1.7.10 minecraft mod that adds a new NEI tab with the mobs info (Name, Origin (Mod), HP, drops) and villager trades.
https://modrinth.com/mod/mobsinfo
GNU Lesser General Public License v3.0
7 stars 7 forks source link

Its really anoying , idk whats the problem but the cache seem to be recreated when remove or add mods into a large modpack #48

Open quentin452 opened 10 months ago

quentin452 commented 10 months ago

it is possible to add dynamic caching to reduce loading time : see #47

kuba6000 commented 10 months ago

Cache is recreated when you add/remove or update any mod in the mod list by default. This behaviour can be changed in the config file mobsinfo.cfg. There is currently no option to only update cache with mobs added by a new mod, maybe thats a good idea to do, I will think about it.

quentin452 commented 10 months ago
# When will cache regeneration trigger? 0 - Never, 1 - ModAdditionRemoval, 2 - ModAdditionRemovalChange, 3 - Always, 
I:CacheRegenerationTrigger=2
so you mean i need to change the value 2 to 3?
kuba6000 commented 10 months ago

No, if you don't want to regenerate a cache when a mod is added or deleted then change it to 0. Then the cache will only be regenerated when you remove the cache file from the config folder. 3 will make it regenerate ALWAYS