embeddedt
8a3b7f7935
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-05-15 21:26:09 -04:00
embeddedt
588b56530e
Support clearing model registry in dev for testing purposes
2025-05-15 20:22:29 -04:00
embeddedt
3ad4e2478e
Optimize MultiVariant.resolveParents
2025-05-15 20:21:34 -04:00
embeddedt
c118675369
Fix concurrency issues in vanilla RegistryOps.memoizeLookup
2025-05-15 18:53:47 -04:00
embeddedt
8b0622ff5c
Log when model universe is restricted
2025-05-14 22:19:10 -04:00
embeddedt
3194d30a09
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-05-09 22:25:19 -04:00
embeddedt
900e5786b6
Pre-size the top level model location set to reduce rehashing
2025-05-09 22:17:36 -04:00
embeddedt
b1b42b9dd9
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-05-03 14:43:31 -04:00
embeddedt
2535174e00
Implement advanced caching of ingredient item stacks using soft references
...
This gives the GC control over when to evict the cache, which combines
the benefits of removing the cache entirely with the speed of keeping it
2025-05-03 14:34:48 -04:00
embeddedt
17a9f122b1
Spotless
2025-05-02 20:29:25 -04:00
embeddedt
048e7f7e07
Filter how much of the model registry Eternal Starlight sees
...
Otherwise it loads every model, AND stores it in a map, defeating
the point of dynamic resources
Related: https://github.com/LeoMinecraftModding/eternal-starlight/pull/82
2025-05-02 20:19:13 -04:00
embeddedt
18dac0d949
Fix incorrect sprite getter being used for CTM integration
2025-05-02 19:55:10 -04:00
embeddedt
508e62b160
Catch errors from dynamic resources integrations instead of propagating them
2025-05-02 19:54:58 -04:00
embeddedt
2dae858652
Improve parity of dynamic resources enough to fix JAOPCA
...
Related: https://github.com/FTBTeam/FTB-Modpack-Issues/issues/7637
2025-05-02 19:42:57 -04:00
embeddedt
21fc44716b
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-05-02 17:32:59 -04:00
embeddedt
7398b48345
Patch CoFH Core to not rely on Ingredient.itemStacks
2025-05-02 17:27:56 -04:00
embeddedt
75f65535f8
Fix several mistakes in porting mixin.perf.faster_ingredients
2025-05-02 14:29:54 -04:00
embeddedt
757d8b6762
Spotless
2025-05-01 19:36:10 -04:00
embeddedt
de804c3aa6
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-05-01 19:33:08 -04:00
embeddedt
8def366676
Update Mod Menu
2025-05-01 19:11:21 -04:00
embeddedt
eed320b055
Optimize some methods in Ingredient and remove itemStacks caching
2025-05-01 19:10:18 -04:00
embeddedt
01d2582c44
Sync tag ingredients directly if ModernFix is installed on both sides
2025-05-01 17:14:19 -04:00
embeddedt
536eb03b50
Trigger classloading of Items when deferring blockstate cache rebuild
2025-05-01 15:21:08 -04:00
embeddedt
1b37c9da66
Remove obsolete OBJLoader patch
2025-04-29 18:33:50 -04:00
embeddedt
92e8234240
Enable registry_event_progress by default on 1.21
2025-04-29 18:31:43 -04:00
embeddedt
2673ae46ae
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-04-29 18:28:15 -04:00
embeddedt
e253833b68
Use CHM's built-in set instead of newSetFromMap
2025-04-29 18:26:20 -04:00
embeddedt
ae729bcd15
Enable use of FML's unused TracingPrintStream for tracking mod messages on System.out
...
We implement this ourselves because we need it on 1.20.1 anyway,
it will eventually be implemented upstream in NeoForge, at
which point this feature will be removed:
https://github.com/neoforged/FancyModLoader/issues/277
2025-04-29 11:18:21 -04:00
embeddedt
60d3026ea6
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-04-28 19:02:46 -04:00
embeddedt
9be6134073
Remove obsolete resource pack code
2025-04-28 18:55:23 -04:00
embeddedt
59e3b83d74
Default to showing the whole model registry to mods
...
This should fix many silent incompatibilities that existed with the
original opt-in approach. To my knowledge, there are no remaining
popular mods on 1.20 that forcefully load all models in this event
(by iterating over entrySet and calling getValue unconditionally)
so doing this should be safe. Additional logging is also added
to provide quick insight into what mod(s) have the slowest handling
of this event.
2025-04-28 10:59:49 -04:00
embeddedt
653b901180
Disable the resource pack cache on 1.21 for now, makes no difference
2025-04-28 10:15:27 -04:00
embeddedt
13820f7bbf
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-04-28 10:02:11 -04:00
embeddedt
4bdddf1051
Attempt to improve parity/reliability of dynamic_entity_renderers
2025-04-27 20:29:21 -04:00
embeddedt
211e404687
Implement a very primitive datapack function profiler
2025-04-27 19:38:23 -04:00
embeddedt
4cde23f4fe
Rewrite resource pack caching to use a tree
2025-04-27 18:35:28 -04:00
embeddedt
dbb6e4713d
Improve usability of -Dmodernfix.debugReloaders
2025-04-27 18:35:14 -04:00
embeddedt
c66987887c
Remove nonexistent AW entry
2025-04-26 20:00:46 -04:00
embeddedt
7ab3f3bc97
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-04-26 19:56:39 -04:00
embeddedt
8c2c33093b
Build creative mode tab search tree on first use
...
This avoids holding search trees for many creative tabs that will
likely never be searched during gameplay.
2025-04-26 16:15:24 -04:00
embeddedt
63aeef1ba0
Add back datapack reload time tracking during world creation
2025-04-26 12:32:50 -04:00
embeddedt
51c4f3eae8
Use smarter iteration order in model bake event registry
...
This heavily improves the rate of cache hits when mods are baking
many variants of the same model via iteration over the keys,
as now all the variants will be obtained at once rather than
being retrieved randomly.
Cable Tiers used to take 8 seconds in the event before this change
on a Ryzen 7700X, and is now nearly instant.
2025-04-26 12:06:12 -04:00
embeddedt
455b56749c
Document many mixin options
2025-04-25 21:29:46 -04:00
embeddedt
c7c866fde5
Update Spark integration
2025-04-09 19:22:21 -04:00
embeddedt
f6683a77ce
Merge 1.20 into 1.21.1
2025-04-06 15:23:37 -04:00
embeddedt
673851ffbd
Check before casting JEI runtime
2025-04-06 14:21:55 -04:00
embeddedt
ed2ad51523
Merge remote-tracking branch 'origin/1.20' into 1.21.1
2025-04-05 10:34:54 -04:00
embeddedt
ff6b687d5a
Tweak ModelManager mixin to improve compat with some mods
...
Supplementaries injects into the lambda near the start of loadBlockModels.
By adjusting this mixin to still run that lambda, we allow the Supplementaries
hook to run while still avoiding the load of all block models
2025-04-05 10:15:59 -04:00
embeddedt
20be8d0da3
Fix obfuscation error
2025-04-02 18:58:39 -04:00
embeddedt
967b0c1982
Prevent Forge's crash report analyser from complaining about ModernFix
2025-04-02 18:52:37 -04:00