bte_optimization_fixes-1.26.0.jar
Curse Maven Snippet
What's new
Skip Global Packs' redundant datapack reload on Create World
Global Data & Resourcepacks 1.14.5 (WorldGenPackFinderMixin
#constructorInject) reloads every datapack on the first init() of
CreateWorldScreen, with a list that lacks the mods' datapacks (91
packs). Right after, openFresh applies the full list (415 packs: the
same 91 plus every mod pack, globals in the same order), which is the
one that stays, so the first reload is thrown away.
Its handler only reloads while its wasInitialized field is false, so
set that field to true before the first init(). The openFresh apply is
unchanged and still includes the global packs (Global Packs also adds
its finders to that repository). Verified in game: a single apply with
the same 415-pack list (same hash) as before. If the field does not
exist (other Global Packs version) nothing is touched.
This mod has no additional files

