isXander / isXander/YetAnotherConfigLib
Make webp/gif preload happen during the reload progress
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 155
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Since 3.3.2 we have a feature that preloads all webp and gif files used by mods, and all these processes are done at the beginning of the reload.
The problem is that if a mod has lots of these files, this could lead to a big lag spike when the user presses F3+T before the reload screen appears.
It's not a big deal, but still pretty annoying. So my thought is to make the preload happen during the reload progress (and it would be better if we could reduce the lag) so that it doesn't block when someone decides to reload resources in the game.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing webp/gif preload path and the resource reload flow, since the issue names no files or tests. Confirm that preloading runs during the reload progress rather than before the reload screen appears, and verify that F3+T no longer causes the reported lag spike.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100