embeddedt
12d69bec45
Fix https://github.com/MinecraftForge/MinecraftForge/issues/9118
2024-02-04 20:05:05 -05:00
Fury_Phoenix
c749fc1aeb
Tidy up version detection ( #352 )
2024-01-25 15:19:37 -05:00
embeddedt
d7146a0667
Restrict resource pack cache to assets/ and data/ folders
2024-01-13 11:15:19 -05:00
embeddedt
6fa3e64210
Lower priority of datapack reload exception mixins
2024-01-12 15:18:11 -05:00
embeddedt
c678ebbb91
Avoid refresh loop if no model data needs refreshing
2024-01-04 20:30:13 -05:00
embeddedt
7174ae1454
Do not actually load all models in replaceAll, use clever trick instead
...
Otherwise, it takes 20 seconds to run this with just Mekanism+Additions+Pneumaticcraft
2024-01-02 12:17:53 -05:00
embeddedt
3214311bb6
Slightly optimize entity capability retrieval
2024-01-01 19:03:52 -05:00
Fury_Phoenix
06bfd71d07
Generate mixin configs automatically using custom AP ( #305 )
2023-12-28 09:36:49 -05:00
embeddedt
675c58a437
Only call put on the model map if the replacement model is different
2023-12-27 16:13:45 -05:00
embeddedt
d1863cc66e
Make replaceAll implementation more robust, add warning
2023-12-27 16:06:22 -05:00
embeddedt
11508fbe07
Track duration of model bake events when dynamic resources is enabled
2023-12-27 16:03:54 -05:00
embeddedt
aee0b2a47d
Add Mekanism to model bake event helper
2023-12-27 15:59:51 -05:00
embeddedt
d76fd84b76
Support replaceAll on the wrapping model registry
2023-12-27 15:56:52 -05:00
embeddedt
12b0d352cd
Fix some concurrency issues in Forge's ModelDataManager
...
Model data is now refreshed in a 3x3 radius if retrieved on
the main thread, but not refreshed at all if retrieved on a
worker. This should emulate the old behavior well enough
for most (if not all) mods, while preventing weird CMEs
from accessing block entities off-thread
2023-12-26 20:44:59 -05:00
embeddedt
7e2f3f3fb9
Rewrite CTM predicate handling again, fix more bugs
2023-12-21 13:16:25 -05:00
embeddedt
9c00f7297d
Reset block predicate when model is loaded
...
Should help invalidate Embeddium's cache
2023-12-18 22:03:18 -05:00
embeddedt
aa53a7610b
Only wrap top-level CTM models if dynamic resources is on
2023-12-18 22:02:21 -05:00
embeddedt
5fa94bf5e4
Add Elevator Mod to dynamic resources iteration list
2023-12-18 21:39:18 -05:00
embeddedt
81836a838d
Implement caching on the blockstate and item to model maps
2023-12-14 20:10:54 -05:00
embeddedt
0056a57f30
Optimize RegistryDelegate#hashCode()
2023-12-13 14:44:25 -05:00
embeddedt
a76c7f2505
Prevent mixin error if Sophisticated Backpacks isn't installed
2023-12-11 11:01:23 -05:00
embeddedt
b351febc82
Patch CME in Sophisticatd Backpacks
2023-12-11 10:58:10 -05:00
embeddedt
a1f3300a8a
More ClientOnlyMixin
...
Related: #297
2023-11-23 09:50:47 -05:00
embeddedt
a531df53cb
Fix RegistryObject#get allocating on every call
...
Credit to jaskarth for discovering this problem
2023-11-19 19:49:08 -05:00
embeddedt
215b797e7b
Fix replaceAll being broken on the model registry
...
Thanks Guava.
2023-11-07 17:26:01 -05:00
embeddedt
4de9022e3c
Warn if keySet is used by a mod when dynamic resources is on
2023-11-04 09:00:57 -04:00
embeddedt
5d984f653e
Don't log error if NO_GROUP field is missing
...
Fixes error message in log with Connector
2023-10-28 20:05:55 -04:00
embeddedt
6740857274
Fix unsanitized input being passed to TinyFD
2023-10-24 12:45:13 -04:00
embeddedt
49c1bc71ba
Patch modded shape caches to be thread-safe
...
Related: #260
2023-10-13 10:47:44 -04:00
embeddedt
6593b6a5cf
Preserve rotation
2023-10-07 17:42:04 -04:00
embeddedt
204c8b78c4
Fix lag caused by Forge vehicle resync patch
...
This patch previously set the player to the entity's position,
which is not always correct for entities that position the player
at an offset (e.g. boats with two entities). Move the player using
positionRider() instead
Original PR: https://github.com/MinecraftForge/MinecraftForge/pull/5160
2023-10-07 17:27:23 -04:00
embeddedt
d877ab46f0
Remove reference to Component in NightConfigFixer
2023-10-06 17:06:10 -04:00
embeddedt
36673f275e
Tweak dynamic resources injection point on Forge
...
Related: #252
2023-10-05 14:29:28 -04:00
embeddedt
2710a02b2a
Detect vanilla connection using custom logic
2023-10-05 14:08:44 -04:00
embeddedt
96d01e5a1e
Don't read modded recipe book settings on vanilla connection
...
Related: https://github.com/neoforged/NeoForge/issues/150
2023-10-05 13:37:31 -04:00
embeddedt
7b1d9ff8bb
Improve Async Locator backport for 1.16
2023-09-22 22:05:10 -04:00
embeddedt
7ff300d8df
Add Vampirism to mods requiring fallback model iterator
...
Related: #242
2023-09-20 17:58:25 -04:00
embeddedt
fcde6104eb
Possible NPE fixes for KubeJS
2023-08-30 19:39:41 -04:00
embeddedt
45f92f7fce
Disable config reload message for now
...
There isn't a good way to print this in a way that will catch the
modification in all scenarios, and that doesn't annoy the user
2023-08-18 15:16:20 -04:00
embeddedt
fa9103fb06
Convert milliseconds to nanoseconds correctly
2023-08-18 14:39:07 -04:00
embeddedt
672ca92aab
Show time to bootstrap stage on Forge
2023-08-18 14:35:15 -04:00
embeddedt
d9184833ec
Introduce MixinExtras
2023-08-13 15:53:20 -04:00
embeddedt
d1c9be8900
Clean up warnings
2023-08-12 11:41:04 -04:00
embeddedt
21ee0dc1cf
Add warning for Connectedness and dynamic resources
2023-08-12 11:28:07 -04:00
embeddedt
a51b1563b1
Try to make config reload message appear less often
...
Related: #210
2023-08-11 19:31:36 -04:00
embeddedt
e2aa482187
Try to provide more guidance to users when reloading configs
2023-08-08 10:24:48 -04:00
embeddedt
c1277a2bf5
Make a copy of the top-level model list when collecting materials
...
This should prevent CMEs if material collection triggers a model
load
2023-08-05 11:42:44 -04:00
embeddedt
e04b05dcc8
Don't return null for models we claim are in the faked model registry
2023-08-04 09:42:07 -04:00
embeddedt
14170ade1f
Implement /mfrc and /mfsrc commands to reload configs on client/server respectively
2023-08-03 19:45:37 -04:00
embeddedt
c8749940f7
Show log message after reloads are processed
2023-08-03 18:09:57 -04:00