Commit Graph

12 Commits

Author SHA1 Message Date
embeddedt
5ec070843d
Use CachedResourcePath in resource finder
Reduces memory usage by ~50%
2023-07-17 13:42:50 -04:00
embeddedt
4f186c03f5
Filter valid paths using explicit joiner instead of Path.toString
to avoid issues on Windows
2023-07-16 19:59:22 -04:00
embeddedt
20ca15f0c4
Add a few more features to resource pack cache engine (for 1.19.4+) 2023-06-22 13:42:15 -04:00
embeddedt
a7d894cbc2
Disable cache invalidation outside dev
Not needed as mod contents shouldn't change (right...)
2023-05-29 10:16:54 -04:00
embeddedt
d427c5e050
Invalidate pack caches directly instead of iterating resource manager pack list 2023-05-10 18:12:32 -04:00
embeddedt
d97da8fe4c
Fix resource pack cache not invalidating on F3+T 2023-05-10 17:02:15 -04:00
embeddedt
b955f17fbd
Do resource cache generation on-thread, but lazily
Apparently ForkJoinPools can deadlock even though they are not
supposed to
2023-05-08 10:17:24 -04:00
embeddedt
2f8f47ae3e
Ensure the context class loader is set for the resource reload executors 2023-05-08 09:57:53 -04:00
embeddedt
d8d76c00c7
Hotfix for another potential race condition 2023-05-08 09:25:40 -04:00
embeddedt
530fb5f796
Hotfix for potential resource reload race condition 2023-05-08 09:04:43 -04:00
embeddedt
b55129a8ca
Generate resource cache using resource reload workers 2023-05-07 18:08:00 -04:00
embeddedt
b6ae90d384
Multiloader 2023-05-01 16:55:26 -04:00