
[Bug]: The game's performance can be significantly affected when the Ageing mode lists contain too many entries.
Kasualix opened this issue ยท 1 comments
General Info
- I am running a modpack
- I can reproduce this issue consistently in single-player
- I can reproduce this issue consistently in multi-player
- I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
- I am crashing and can provide my crash report(s)
- I am using the latest version of the mod
Forge version
Any supported version of this mod
Minecraft version
Any supported version of this mod
Mod version
Any supported version of this mod
Java version
Any supported version of this mod
Issue Description
Title. To be specific: https://github.com/Mrbysco/AgeingSpawners/blob/1.19.x/src/main/java/com/mrbysco/ageingspawners/util/AgeingHelper.java#L11
Possible solution: Pre-initialize and cache the result
A long time ago I was working on a modpack. When I added a lot of entries to this mod's config file, the game became laggy because of the spawners.
I haven't reported the problem since, and only recalled it when I recently solved this performance problem (and improved by 100+ fps) at Embeddium Extras
Additional Information
No response