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
embeddedt
7e87aae3f6
Hide LazyDFU missing warning in dev
2023-04-30 19:20:31 -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
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
embeddedt
66d1faa7e3
Fix another logic race that could cause missing models
2023-04-22 12:27:31 -04:00
embeddedt
5958e10eff
Fix behavior for contained paths with non-vanilla PackTypes
2023-04-21 13:40:21 -04:00
embeddedt
9e95be14f3
Ignore non-vanilla PackTypes when caching resources
2023-04-21 13:35:12 -04:00
embeddedt
36664cb23a
Don't waste time parsing UVs when performing initial model load
2023-04-20 20:45:21 -04:00
embeddedt
33d3f0e537
Use SRG names
2023-04-20 20:19:52 -04:00
embeddedt
45225a580f
Clear chunk map from integrated server worlds after server stops
2023-04-20 20:17:55 -04:00
embeddedt
a0f0600184
Make sure GC can actually happen
2023-04-20 20:02:32 -04:00
embeddedt
21dcf9d3df
Make watchdog thread not hold on to server for 60 seconds
2023-04-20 19:59:58 -04:00
embeddedt
d10ff8a24e
Ensure cached resources are cleared when connecting to multiplayer
2023-04-20 19:55:41 -04:00
embeddedt
701def339f
Fix crash when null type references are interned
2023-04-20 19:20:15 -04:00
embeddedt
a2d0984078
Add ItemColors mixin as well
...
Related: #59
2023-04-19 16:09:40 -04:00
embeddedt
856c3cbc11
Deduplicate some ModFileScanData
2023-04-19 09:56:35 -04:00
embeddedt
f27d94cf26
Disable class info clearing by default and only clear non-mixin entries
2023-04-18 22:24:48 -04:00
embeddedt
74c3f0ff90
Also clear ClassInfo cache after server starts
2023-04-18 22:17:32 -04:00
embeddedt
e5028535e9
Clear mixin ClassInfo cache when load finishes
2023-04-18 22:16:14 -04:00
embeddedt
201c2f3b51
Add off-by-default option to disable the DFU maps for flattening
2023-04-18 22:02:06 -04:00
embeddedt
7df692da1a
Backport Starlight patch to lazily init emptiness maps
2023-04-17 18:23:30 -04:00
embeddedt
274c41d637
Allow unloading unused structures
2023-04-16 20:54:41 -04:00
embeddedt
ad7bc8829b
Add eviction to some DFU caches
2023-04-16 20:27:42 -04:00
embeddedt
1602d3352f
Fix crash with some more types of empty paths
2023-04-16 14:38:11 -04:00
embeddedt
0af09b7e27
1.19 does not allow changing RenderTypes at runtime
2023-04-16 14:37:51 -04:00
embeddedt
c8523b3844
Incrementing the index is important
2023-04-16 13:31:01 -04:00
embeddedt
3497adfa6d
Bugfixes
2023-04-16 13:21:10 -04:00
embeddedt
f8c5c50ce4
Improve speed of cache building
2023-04-16 13:15:13 -04:00
embeddedt
0f3c701d2a
Prevent missing options from crashing the game
2023-04-16 12:55:52 -04:00
embeddedt
6f176ba86d
Remove reference to nonexistent config option
2023-04-16 12:55:01 -04:00
embeddedt
ea86bc6850
More aggressive interning of cached path components
2023-04-16 12:48:16 -04:00
embeddedt
3922c3ec26
Reduce memory usage of dynamic CTMPackReloadListener
2023-04-16 11:55:00 -04:00
embeddedt
f36a8f4266
Clear ObjectHolder Throwable fields after registry events fire
2023-04-16 11:39:54 -04:00
embeddedt
61af88a2ab
Improve memory usage of resource pack cache
2023-04-16 09:35:31 -04:00
embeddedt
9225962983
Invalidate material cache if the texture map changes on a model
2023-04-15 21:26:49 -04:00
embeddedt
58d066d0db
Use high-priority mixin with injects instead of overwrites for
...
dynamic resources
2023-04-15 12:00:03 -04:00
embeddedt
61710dbc85
Add missing import
...
Don't edit things from the command line ;)
2023-04-13 13:27:47 -04:00
embeddedt
c7fd6c1393
Fix AT map not actually initializing types set
2023-04-13 13:26:45 -04:00
embeddedt
c4fbde015e
Use reflection instead of mixins for SyncExecutor patch
2023-04-13 13:00:43 -04:00
embeddedt
9443c41273
Optimize access transformers
2023-04-13 12:01:41 -04:00
embeddedt
e977fcdfce
Improved chunk deadlock detection system + patch Valhelsia Structures
...
when installed
2023-04-12 19:06:40 -04:00
embeddedt
10149e9f87
Add integrated server watchdog
2023-04-12 16:05:08 -04:00
embeddedt
3b56f00b82
Fix world load freezing if mods access the previous server world
2023-04-12 14:42:11 -04:00
embeddedt
d709335ac2
Fetch a model the vanilla way if it fails to be present in
...
the lookup cache when gathering textures
2023-04-11 21:31:55 -04:00
embeddedt
87f74bc1b9
Skip calling stateToModelLocation
2023-04-11 11:12:13 -04:00
embeddedt
f1d23f9a92
Avoid loading every permutation of a multipart model at once
...
Fixes the 5 second lag spike for mods like Pedestals on 1.19+
2023-04-11 10:11:10 -04:00
embeddedt
a4e6522c52
Rewrite model material gathering to use blockstate files
2023-04-10 19:25:01 -04:00
embeddedt
6374d90d4a
Properly hold onto unbaked models as they are loaded
2023-04-10 15:58:12 -04:00
embeddedt
5ccdb4c165
Don't count render ticks until recipes and tags are sent
2023-04-10 11:49:12 -04:00
embeddedt
2889a4e39b
Move DynamicModelBakeEvent off modloading bus
...
The modloading bus insists on logging every event that is fired
which is very laggy
2023-04-10 10:43:24 -04:00
embeddedt
c00b984dae
Say that models are always present
2023-04-10 10:30:44 -04:00
embeddedt
af85a4293a
Add compat for SuperMartijn642CoreLib
2023-04-10 10:02:15 -04:00
embeddedt
c010d700a8
Make entity ID syncer not crash if a class can't be loaded
...
Related: #55
2023-04-10 08:00:50 -04:00
embeddedt
882f4832df
Allow concurrent retrieval of models from the cache
2023-04-09 14:03:32 -04:00
embeddedt
e5cd9f57b5
CTM support
2023-04-09 13:52:40 -04:00
embeddedt
8937ca020d
Add ModelBakeEvent alternative for dynamic models
2023-04-09 12:48:00 -04:00
embeddedt
a6d924535e
Fix KubeJS resources not being scanned for textures
2023-04-09 12:29:47 -04:00
embeddedt
a2af0cf835
Add blockstate compression optimization (off by default for mod compat)
2023-04-08 22:15:32 -04:00
embeddedt
9ab6bc83b8
Fix debug overlay leaking chunks from the last world
2023-04-08 21:12:21 -04:00