embeddedt
ec189b55a2
Fix concurrency bugs in Mantle models
...
Backports eb111d2083
Related: https://github.com/embeddedt/embeddium/issues/251
2024-03-31 16:34:46 -04:00
embeddedt
8873a055bc
Fix https://github.com/thebrightspark/AsyncLocator/issues/12 for 1.16
2024-03-31 16:08:39 -04:00
embeddedt
469b4b7093
Use separate backing search tree for recipe book
2024-03-30 17:35:06 -04:00
embeddedt
db105905f7
Implement a fallback search tree for the recipe book
2024-03-30 17:27:37 -04:00
embeddedt
66abdcd9a7
Null-check config keybind
2024-03-27 12:14:58 -04:00
embeddedt
bf74ab5a80
Mitigate excessive resource usage from Night Config
2024-03-20 14:40:56 -04:00
embeddedt
e1ff64785e
Fix "Illegal prefix" error in log when custom class/resource locators are in use
2024-03-20 14:00:23 -04:00
embeddedt
31cc0a0da0
Retrieve block name once per state
2024-03-17 15:55:07 -04:00
embeddedt
06726296fe
Speed up ModelBakeEventHelper constructor
2024-03-17 15:52:41 -04:00
embeddedt
ad1e12a3bb
Remove unfinished/obsolete registry & block optimizations
...
These patches were unfinished, are known to be buggy, and won't make
sense in modern versions of Minecraft, where many of the underlying
issues have been addressed in other ways
2024-02-28 20:07:56 -05:00
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