Commit Graph

459 Commits

Author SHA1 Message Date
embeddedt
2081b63b56
Fix looking up private static final Capability fields 2026-03-27 22:38:18 -04:00
embeddedt
94f1fbf4db
Rewrite AttachCapabilitiesEvent hoisting to not rely on phases 2026-03-27 21:18:38 -04:00
embeddedt
f449fcb899
Fix option screen rendering 2026-03-27 20:36:17 -04:00
embeddedt
ab8a8068e0
Avoid synchronizing layer list in LivingEntityRenderer 2026-03-26 22:58:18 -04:00
embeddedt
6a4e2810b4
Merge remote-tracking branch 'origin/1.21.1' into 26.1 2026-03-23 18:41:32 -04:00
embeddedt
9f56c913fa
Reduce redundant suspension checks 2026-03-22 22:14:54 -04:00
embeddedt
10f8be3d93
Merge remote-tracking branch 'origin/1.20' into 1.21.1 2026-03-22 22:00:51 -04:00
embeddedt
79d2b28d5b
Fix Forge handshake taking extremely long time with many payloads 2026-03-19 21:25:37 -04:00
embeddedt
18dc488ab9
Avoid spinning in Minecraft.doWorldLoad 2026-03-19 20:36:07 -04:00
embeddedt
a9340b2642
Rewrite and improve mixin.perf.cache_strongholds 2026-03-19 20:11:11 -04:00
embeddedt
670e06816b
Reduce work done while waiting for singleplayer client to initiate connection 2026-03-16 22:15:44 -04:00
embeddedt
53349cbd1a
Remove skip_redundant_saves 2026-03-16 22:14:35 -04:00
embeddedt
1794c81b61
Optimize sequence rules that check many biome conditions in a row 2026-03-15 15:24:54 -04:00
embeddedt
dbe9acb3d8
Heavily optimize the BlockColumn impl used during surface rule evaluation 2026-03-14 22:05:36 -04:00
embeddedt
22915a91a1
Implement a significantly more optimized biome lookup for surface rules 2026-03-14 19:44:42 -04:00
embeddedt
1289897004
Add worldgen benchmarking harness 2026-03-14 18:46:32 -04:00
embeddedt
9692da12b4
Add idle timer to prevent chunks from suspending too quickly 2026-03-14 15:59:52 -04:00
embeddedt
e34a99b38c
Simplify chunk unload logic & fix events not being fired when INACCESSIBLE chunks are unloaded 2026-03-14 14:59:45 -04:00
embeddedt
f79eae8b83
Make integrated server treat game as paused while singleplayer client is still loading 2026-03-14 10:44:04 -04:00
embeddedt
38288d5e6a
Automatically free contents of ChunkHolders only used for worldgen when generation finishes 2026-03-13 22:26:51 -04:00
embeddedt
2050516bf1
Do not cache supported glyphs in lazy provider 2026-03-13 19:53:33 -04:00
embeddedt
02f486ebf4
Avoid loading multiple copies of a lazy glyph provider 2026-03-13 19:36:15 -04:00
embeddedt
c8a43ff7d6
Update to 26.1-pre1 2026-03-12 22:09:33 -04:00
embeddedt
9edce9ad91
Dynamically load/unload Unihex font data 2026-03-06 20:52:26 -05:00
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
9f7c65fc67
Update to 26.1 snapshot 3 2026-01-19 20:48:30 -05:00
embeddedt
76a2a97d2d
Merge remote-tracking branch 'origin/1.21.1' into 26.1 2026-01-19 20:22:48 -05:00
embeddedt
3a8172c1c4
Merge remote-tracking branch 'origin/1.20' into 1.21.1 2026-01-19 20:21:56 -05:00
embeddedt
4927b21f3f
Merge branch '1.21.11' into 26.1 2026-01-09 21:10:16 -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
58b86a9852
Restructure code 2026-01-03 15:29:58 -05:00
embeddedt
f14bfa56e1
Fix crash when model baking fails 2026-01-03 15:29:05 -05:00
embeddedt
f9cce166d1
Show full exception stacktrace when model baking fails 2026-01-03 15:28:55 -05:00
embeddedt
0f99216417
Handle vanilla mapping blockstates to fake StateDefinitions
Closes #621

Co-authored-by: coredex-source <samdhi2323@gmail.com>
2026-01-03 15:09:39 -05:00
embeddedt
e9836ceac6
Disable dynamic resources debug mode by default 2026-01-03 15:09:39 -05:00
embeddedt
dbf343bf91
Reimplement mixin.bugfix.entity_pose_stack 2026-01-03 15:09:39 -05:00
embeddedt
617c50ffff
Add blockstate cache baking progress to the loading screen 2026-01-03 15:09:39 -05:00
embeddedt
0a68a6923a
Reimplement deduplicate_wall_shapes 2026-01-03 15:09:39 -05:00
embeddedt
a631e17aab
Reimplement optimized lookup map for block state models 2026-01-03 15:09:39 -05:00
embeddedt
01fb138c8a
Make maps provided to ModifyBakingResult mutable 2026-01-03 15:09:39 -05:00
embeddedt
a0e8d0b012
Handle vanilla mapping blockstates to fake StateDefinitions
Closes #621

Co-authored-by: coredex-source <samdhi2323@gmail.com>
2026-01-01 14:47:53 -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
07f4e2c6a3
Disable dynamic resources debug mode by default 2025-12-28 19:24:11 -05:00
embeddedt
3e349d71d1
Reimplement mixin.bugfix.entity_pose_stack 2025-12-28 19:24:01 -05:00
embeddedt
bbc2e4d898
Add blockstate cache baking progress to the loading screen 2025-12-28 19:03:44 -05:00
embeddedt
683d6674d4
Reimplement deduplicate_wall_shapes 2025-12-28 19:02:46 -05:00
embeddedt
a8785e654f
Reimplement optimized lookup map for block state models 2025-12-28 13:23:14 -05:00
embeddedt
2cc683f39d
Make maps provided to ModifyBakingResult mutable 2025-12-27 19:33:30 -05:00
embeddedt
da82e38aa7
Update to 26.1 snapshot 1 2025-12-27 18:51:14 -05:00
embeddedt
fa1553e61a
Avoid optional wrapper 2025-12-27 13:38:42 -05:00
embeddedt
00de7e1c4a
Add comments 2025-12-27 13:33:56 -05:00
embeddedt
6e07ecf91a
Ensure block state registry will not be mutated 2025-12-27 13:30:57 -05:00
embeddedt
7840a86e91
Block models are now loaded & baked dynamically 2025-12-27 13:28:38 -05:00
embeddedt
523cf8a67c
Begin enabling work for dynamic model groups 2025-12-27 13:15:26 -05:00
embeddedt
57544803b4
Make model discovery dynamic 2025-12-27 13:06:57 -05:00
embeddedt
9b35236b85
Begin reimplementing dynamic resources
Currently only unbaked models & blockstate definitions are dynamic
2025-12-27 12:09:35 -05:00
embeddedt
23a5f2985e
Begin the next era, start update to 21.11
Co-authored-by: DerCommander323 <volcarlos323@googlemail.com>
Co-authored-by: coredex-source <samdhi2323@gmail.com>
2025-12-27 11:31:32 -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