Commit Graph

261 Commits

Author SHA1 Message Date
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
embeddedt
d2e2040ce4
Reduce allocation rate from biome zoomer 2023-04-08 20:28:48 -04:00
embeddedt
af731b336e
Clear memory reserve 2023-04-08 20:24:34 -04:00
embeddedt
1796d80d40
Make ModelLocationCache more low-memory friendly 2023-04-08 20:01:40 -04:00