Commit Graph

419 Commits

Author SHA1 Message Date
embeddedt
ac8d93d5b9
Ensure exceptions thrown in chunk load events are not dropped 2026-03-06 09:00:28 -05:00
embeddedt
bee4536c1a
Tweak full chunk promotion to reduce opportunities for deadlocks 2026-03-05 21:09:33 -05:00
embeddedt
17f930ea6f
WIP chunk saving optimization 2026-03-04 18:41:28 -05:00
embeddedt
f23348c6cb
Clear unneeded ObjectHolderRefs 2026-03-01 19:28:52 -05:00
embeddedt
21cbcb0e04
Strip signatures from jar manifests at startup to save memory 2026-03-01 17:52:13 -05:00
embeddedt
925c7526ee
Reduce memory usage of ImposterProtoChunks 2026-03-01 15:46:52 -05:00
embeddedt
30e3deb8e2
Avoid unnecessary chunkloads when remove_spawn_chunks is enabled 2026-03-01 15:18:13 -05:00
embeddedt
ee34dcf96e
Drastically simplify and document chunk system memory usage patch 2026-02-28 16:42:42 -05:00
embeddedt
49d800ff27
Avoid calling LazyOptional.isPresent() if possible 2026-02-27 22:19:04 -05:00
embeddedt
15f30b532c
Reduce generated class size slightly 2026-02-27 21:30:35 -05:00
embeddedt
df06010846
Fix superclass capability types being ignored sometimes 2026-02-27 20:53:40 -05:00
embeddedt
696b344ef5
Fix missed detection of certain cap equality checks 2026-02-27 20:35:58 -05:00
embeddedt
e63d99763e
Avoid initializing lazy capability providers for compatibility checks where possible 2026-02-27 19:29:16 -05:00
embeddedt
60850610f9
Group capability providers of known types together when possible 2026-02-27 19:11:24 -05:00
embeddedt
e16179b797
Emit more debug info to the generated dispatcher classes 2026-02-27 19:08:06 -05:00
embeddedt
784b914a43
Optimize runs of ICapabilityProvider calls into hash lookups 2026-02-26 22:26:57 -05:00
embeddedt
b9933b1158
Add bytecode analysis to filter ICapabilityProvider impls where possible
Currently disabled by default till more testing is completed
2026-02-26 21:45:31 -05:00
embeddedt
878b3798f3
Detect mods causing CMEs with the client resource reload listener list
Related: #512
2026-02-05 21:10:39 -05:00
embeddedt
bc0e9a09fc
Prevent model locations added in RegisterAdditional from being early baked 2026-02-02 21:29:14 -05:00
embeddedt
8c34c0de50
Dump stats on permanently loaded baked models to debug log 2026-02-02 20:50:21 -05:00
embeddedt
9f11af14b5
Merge remote-tracking branch 'origin/1.20' into 1.21.1 2026-01-25 21:31:25 -05:00
embeddedt
b9832b076b
Holder-ize AttributeSupplier mixins 2026-01-25 21:31:18 -05:00
embeddedt
5a93bc6109
Use identityHashCode for attribute 2026-01-25 21:31:06 -05:00
embeddedt
49a88c8bba
Merge remote-tracking branch 'origin/1.20' into 1.21.1 2026-01-25 21:29:36 -05:00
embeddedt
8125da7882
Avoid propagating unbaked model load errors to higher-level code
Related: #625
2026-01-25 21:28:23 -05:00
embeddedt
d699187006
Fix AttachCapabilitiesEvent dispatch being very slow
EventBus strikes again...
2026-01-25 20:38:18 -05:00
embeddedt
cff29149db
Intern map keys in BlockStateData 2026-01-25 19:41:29 -05:00
embeddedt
3926f27d33
Optimize memory usage of entity attribute templates 2026-01-25 19:27:27 -05:00
embeddedt
7a8beea66e
Clear encoder cache when configuration finishes & on disconnect
Credit to @XFactHD for the suggestion
2026-01-25 12:35:29 -05:00
embeddedt
97c4b35c82
Merge remote-tracking branch 'origin/1.20' into 1.21.1 2026-01-24 10:44:07 -05:00
embeddedt
9bc5f06a19
Ensure correct order of properties in generated ModelResourceLocation variant strings
Related: https://github.com/malte0811/FerriteCore/issues/219
2026-01-24 10:41:23 -05:00
embeddedt
a70f76a34d
Document the reason for lack of optimization 2026-01-23 20:20:48 -05:00
embeddedt
4dcdf09a01
Do not convert ModFileScanData annotation values to immutable lists
Related: #627
2026-01-23 20:19:28 -05:00
embeddedt
0068f72631
Merge remote-tracking branch 'origin/1.20' into 1.21.1 2026-01-22 19:33:09 -05:00
embeddedt
49f5b527db
Add JVM argument to help prevent mass Spark profile uploads 2026-01-22 19:03:01 -05:00
embeddedt
3a8172c1c4
Merge remote-tracking branch 'origin/1.20' into 1.21.1 2026-01-19 20:21:56 -05:00
embeddedt
4b18cc2cc6
Fix crash when user home/config folders are inaccessible 2026-01-09 21:05:49 -05:00
embeddedt
b2ed5b9341
Adjust mixin for CIT Reforged compatibility
Related: https://github.com/embeddedt/ModernFix/issues/624
2026-01-09 21:05:06 -05:00
embeddedt
a30dd08cd1
Optimize memory usage of ModFileScanData 2026-01-06 21:58:21 -05:00
embeddedt
7420a7c7ab
Dispatch getCapability calls using specialized ASM loop per provider types
Idea suggested by @eigenraven
2026-01-01 13:09:17 -05:00
embeddedt
1b26be735b
Merge remote-tracking branch 'origin/1.20' into 1.21.1 2025-12-26 19:23:47 -05:00
embeddedt
35f81bae3d
Migrate 1.21.1 to MDG + unified source folder 2025-12-26 19:04:59 -05:00
embeddedt
f06fb8c32e
Fix several issues running production jar 2025-12-26 18:29:35 -05:00
embeddedt
b26ab375b5
Merge common & forge projects, replace Arch Loom with MDG 2025-12-26 18:13:42 -05:00
embeddedt
b6ae90d384
Multiloader 2023-05-01 16:55:26 -04:00
embeddedt
4097ba3cce
Generate mixin class list at build/run time 2023-05-01 10:19:55 -04:00
embeddedt
d0102af837
Fix potential issue if restitching is performed 2023-05-01 10:19:55 -04:00
狂想ThePotato
8a1dbc0543
Update zh_cn.json (#69) 2023-04-30 21:57:23 -04:00
embeddedt
7e87aae3f6
Hide LazyDFU missing warning in dev 2023-04-30 19:20:31 -04:00
embeddedt
fead01b142
Update LazyDFU warning 2023-04-30 19:17:04 -04:00
embeddedt
c561d818f3
Implement improved version of LazyDFU (having it installed is still beneficial)
Now DFU classes are not loaded until the first time DFU is actually
needed to update something. This saves quite a bit of RAM.

This is a better version of dedup_blockstate_flattening_map so the
latter is removed.
2023-04-30 19:09:56 -04:00
embeddedt
7039bcada7
Reintroduce separate root listing list 2023-04-29 21:24:06 -04:00
embeddedt
e7a1ce74cc
Move pack caching logic into separate version-independent class 2023-04-29 20:35:18 -04:00
embeddedt
fe0b82e6da
Fix RemoveBlockGoal permaloading chunks, remove START ticket entirely 2023-04-29 17:33:10 -04:00
embeddedt
609da0f545
Add option to remove spawn chunks 2023-04-29 16:50:02 -04:00
embeddedt
21177ea0e4
Fix mixin crash 2023-04-29 16:36:10 -04:00
embeddedt
5ac369acb8
Fix some items not rendering in inventories 2023-04-29 14:06:53 -04:00
embeddedt
dc56d51f11
Split registry rewrite into separate off-by-default option
This needs more testing
2023-04-29 13:19:02 -04:00
embeddedt
99df4cbbe2
Add dynamic model support to Refined Storage 2023-04-29 11:26:01 -04:00
embeddedt
14f98e358b
Load every provided blockstate file, not just the first one 2023-04-29 11:17:28 -04:00
embeddedt
960dd4074e
Clean up scanner + abstract pack scanning to separate function 2023-04-29 09:38:13 -04:00
embeddedt
9b50a50bad
Allow mutating CanonizingStringMap.keySet() 2023-04-29 09:22:55 -04:00
embeddedt
e4ef3103cc
Fix CTM crash 2023-04-29 09:17:41 -04:00
embeddedt
c0c789f29c
Fix registry replacement 2023-04-28 22:57:33 -04:00
embeddedt
6665db3a69
Only use the fallback path for models/blockstates not discovered yet 2023-04-28 22:34:44 -04:00
embeddedt
12a7483d4d
Add large registry test option 2023-04-28 22:06:35 -04:00
embeddedt
39e9dfab99
Use getResources on resource packs we can trust 2023-04-28 22:06:21 -04:00
embeddedt
8b71c823c4
Unbox IDs 2023-04-28 21:40:22 -04:00
embeddedt
c09c4ccf68
Optimize clear() 2023-04-28 21:33:57 -04:00
embeddedt
433db3409a
Continue optimizing 2023-04-28 21:30:51 -04:00
embeddedt
599bdee173
Refactor registry data into a custom object 2023-04-28 19:22:38 -04:00
embeddedt
3f24f50744
Initial version of fast registry 2023-04-28 19:14:31 -04:00
embeddedt
b9cb33b1ef
Dynamically generate item model location cache 2023-04-28 17:27:33 -04:00
embeddedt
77e9309d2b
Registry optimizations 2023-04-28 17:14:09 -04:00
embeddedt
4195b15946
Don't waste time interning paths we are checking exist 2023-04-28 15:53:51 -04:00
embeddedt
469c564c1b
Suppress model bakery errors if there are too many 2023-04-28 15:53:39 -04:00
embeddedt
10672b0214
Config screen 2023-04-28 14:59:18 -04:00
embeddedt
f85d19340b
Fix closing font textures that were cached
Fixes #64
2023-04-28 10:52:11 -04:00
embeddedt
006c487b86
Optimize SortedArraySet.removeIf 2023-04-28 09:53:43 -04:00
embeddedt
a0ceaa4dac
Fix patches being nonfunctional 2023-04-27 21:36:32 -04:00
embeddedt
da6e9dc075
Port two chunk system patches from Paper 2023-04-27 20:48:53 -04:00
embeddedt
c861c99c79
Speed up FontManager loading 2023-04-27 12:03:38 -04:00
embeddedt
934da3660f
Fix debug mixin being checked in 2023-04-26 19:16:07 -04:00
embeddedt
91d1cb3962
Bypass slow PngInfo class during texture loading
Thanks to @Asek3 for pointing out this bottleneck
2023-04-26 19:11:39 -04:00
embeddedt
a4a19be545
Avoid using replaceAll 2023-04-26 13:58:25 -04:00
embeddedt
d356e1ece4
Optimize NBT memory usage 2023-04-26 13:42:53 -04:00
embeddedt
110362b85c
Fix log message always saying 0 items were cleared 2023-04-25 21:34:31 -04:00
embeddedt
56aed7284c
More null checks 2023-04-25 21:28:31 -04:00
embeddedt
c684cccf74
Simplify book deduplication 2023-04-25 21:20:30 -04:00
embeddedt
d86344f309
Add logic to clear air items of NBT from Patchouli book registry 2023-04-25 21:05:02 -04:00
embeddedt
e843f8ed6d
Clear KubeJS recipe event lists since mods can hold onto the event object 2023-04-25 19:29:26 -04:00
embeddedt
e46910f3c1
Add Opticrash detection 2023-04-25 12:03:19 -04:00
embeddedt
e771af2330
AE2 model wrapping support 2023-04-25 11:33:26 -04:00
embeddedt
a3e7435c61
Correctly emulate nullishness of baked top level model map 2023-04-25 11:10:20 -04:00
embeddedt
863fbaf3a4
Remove a lot of now dead code 2023-04-24 16:56:27 -04:00
embeddedt
4c36f04f56
Fix the Minecraft window teleporting back to the center of the screen
when early load finishes
2023-04-24 11:49:56 -04:00
embeddedt
8cdee4826e
Disable boost worker count when Smooth Boot is installed 2023-04-24 10:50:01 -04:00
embeddedt
fdbf8d621e
Fix additional use of backgroundExecutor in dynamic resources 2023-04-24 10:49:32 -04:00
embeddedt
ee8eb02e6d
Replace mod work manager queue during vanilla bootstrap
instead of in mixin plugin
2023-04-24 10:46:17 -04:00
embeddedt
86629e7773
Move resource reloading to dedicated executor
Allows benefiting from Smooth Boot in-game (as intended)
while not slowing down launch
2023-04-24 10:35:22 -04:00