Commit Graph

143 Commits

Author SHA1 Message Date
embeddedt
bc5b85efcc
Move 441 chunk loading to after join game packets are sent on integrated server 2023-02-21 22:24:50 -05:00
embeddedt
cb6399e820
Port faster texture stitching by SuperCoder79 2023-02-21 11:26:46 -05:00
embeddedt
d7d1ba0993
Make client-only injection not required
Fixes #23
2023-02-20 12:11:46 -05:00
embeddedt
aa963f4d1a
Allow COW in StaticTagHelper
Seems that some mods bind tags at runtime. This is a hack but it
should fix the persistent CME I get when launching ATM6
2023-02-20 11:46:36 -05:00
embeddedt
c7f2d41695
More KubeJS optimizations 2023-02-20 11:25:39 -05:00
embeddedt
02230095b7
Ignore exceptions while building blockstate cache 2023-02-20 11:25:22 -05:00
embeddedt
5cd80ebd27
Use a custom ForkJoinPool so that mod classes load correctly 2023-02-20 10:23:46 -05:00
embeddedt
df7cd20e59
Clean up imports 2023-02-20 09:57:34 -05:00
embeddedt
a6e736e8af
Remove redundant optimization 2023-02-20 09:57:15 -05:00
embeddedt
5b852f9531
Remove debug logging 2023-02-19 22:44:35 -05:00
embeddedt
613364ce91
Further KubeJS optimization 2023-02-19 22:40:59 -05:00
embeddedt
4d397361e2
Remove special sauce in blockstate handling
Now that the cache is rebuilt off-thread, there is little to gain
from parallelizing these few blocks
2023-02-19 22:19:55 -05:00
embeddedt
9b9b13d24b
Add KubeJS optimizations 2023-02-19 22:19:20 -05:00
embeddedt
1f1bf4a442
Guard against mods that don't support concurrency on resource packs
Should fix #22
2023-02-19 20:12:49 -05:00
embeddedt
74a727d335
Add ability to use vanilla resource reload profiler 2023-02-19 20:05:09 -05:00
embeddedt
d2d29f14cb
Prevent Nashorn from defining anonymous classes if Java is too new
Solar Flux Reborn now works on Java 17
2023-02-19 18:44:21 -05:00
embeddedt
30bcf66c35
Mark structure manager field as immutable 2023-02-18 13:12:33 -05:00
embeddedt
a5d91fb4fb
Don't print interruption message if thread finished 2023-02-17 21:47:37 -05:00
embeddedt
312fb4c6f5
Add fix for Java 11+ worldgen crash 2023-02-17 21:46:31 -05:00
embeddedt
8f971a2c84
Backport Async Locator 2023-02-17 21:39:59 -05:00
embeddedt
b347c051bf Add JEI loading indicator
Fixes #13
2023-02-16 14:27:38 -05:00
embeddedt
14f91798af remove remaps 2023-02-15 18:59:43 -05:00
embeddedt
5c15e27c7d Remove unneeded remap 2023-02-15 18:54:59 -05:00
embeddedt
381f6a5f1e Fix JEI mixins 2023-02-15 18:10:42 -05:00
embeddedt
fa79480576
Remove priority config
It's unlikely anyone needs to adjust this.
2023-02-15 09:05:04 -05:00
embeddedt
cfbe21d72f
Remap to full Mojmap (including classnames)
Mod does not yet run in dev
2023-02-14 21:59:30 -05:00
embeddedt
d06ba2b7bf Make DummySearchTree extend SearchTreeReloadable for compatibility 2023-02-14 15:27:57 -05:00
embeddedt
1cdd9fdaaa Avoid iterating over a set being modified
Fixes #19
2023-02-14 09:41:48 -05:00
embeddedt
7742a9507f Bake models with custom geometry at startup time
Fixes #18 (not the way I want though)
2023-02-13 14:55:32 -05:00
embeddedt
318afbe3bf
Automatically detect mods that need models baked in advance 2023-02-12 10:25:58 -05:00
embeddedt
02d9311040
Minor performance improvements to model handling 2023-02-12 09:38:32 -05:00
embeddedt
6c7fd44f00
Cache temporary mixin classloading 2023-02-11 20:34:50 -05:00
embeddedt
fe555df442
Add system to bake incompatible models AOT
Fixes #16
2023-02-11 20:22:29 -05:00
embeddedt
99758ba9de
Ensure previous rebuild thread reference is cleared 2023-02-11 12:27:20 -05:00
embeddedt
af63b3ed11
Suppress exception stacktraces for datapack reloads by default 2023-02-11 12:26:45 -05:00
embeddedt
cc77da1027
Fire model bake events on worker thread 2023-02-11 12:08:17 -05:00
embeddedt
7dcce90a82
Lie to model event handlers about some flags to speed up loading 2023-02-11 11:50:01 -05:00
embeddedt
327813fa91
Rewrite faster_baking optimization, now defers baking to first use 2023-02-11 10:30:19 -05:00
embeddedt
ebafc9a0cc
Remove log message 2023-02-11 09:32:11 -05:00
embeddedt
928d2e3f02
Tweak model loading 2023-02-11 09:31:28 -05:00
embeddedt
80a4585efd
Do not deserialize model JSONs in parallel
Some Forge model loaders attempt to read more models while
deserializing, which causes issues
2023-02-09 22:01:32 -05:00
embeddedt
08fd01c09f More improvements to async model loading, but still crashes sometimes 2023-02-09 14:33:06 -05:00
embeddedt
eb99ce47d8 Measure vanilla bootstrap time 2023-02-09 10:44:35 -05:00
embeddedt
611a8e18cb Add patch for Netty packet leak
Fixes https://github.com/embeddedt/ModernFix/issues/15
Related:
https://github.com/EnigmaticaModpacks/Enigmatica6/issues/4469
https://github.com/MinecraftForge/MinecraftForge/pull/8181
https://github.com/MinecraftForge/MinecraftForge/pull/8042
2023-02-09 10:03:37 -05:00
embeddedt
6ebc3bbe03 Implement parallel baking for vanilla models 2023-02-08 15:20:07 -05:00
embeddedt
0111a8e2ec Improve reliability of async blockstate rebuild logic 2023-02-08 14:02:35 -05:00
embeddedt
ae796f2386 Revert unfinished change 2023-02-08 13:58:07 -05:00
embeddedt
3d7422496e Fix occasional CME when rebuilding blockstate cache 2023-02-08 09:56:17 -05:00
embeddedt
0ffb3cc973
Further optimizations to model loading 2023-02-06 10:01:15 -05:00
embeddedt
30ae895fa5
Add option to rebuild blockstate caches on a background thread 2023-02-04 12:56:32 -05:00