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
Fury_Phoenix
8aa04e13a6
Remove testmod genSources task ( #333 )
2023-12-26 10:13:46 -05:00
embeddedt
97ba361867
Retrieve quads on incorrect cullface lists if direction matches
2023-12-23 21:27:39 -05:00
embeddedt
60b372870b
Fix nixie tubes being invisible with faster_item_rendering
2023-12-23 19:05:16 -05:00
embeddedt
8058d4caa9
Remove dynamic item overrides
...
This system conflicts with other optimization mods (e.g. Noxesium)
and is annoying to maintain. Please stop using item overrides and
use real items/mods instead
2023-12-23 17:12:50 -05:00
embeddedt
a7c2424b14
Handle missing models in item overrides
2023-12-23 15:53:40 -05:00
embeddedt
bc2e84bacc
Cache item override model instance
2023-12-21 16:50:08 -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
240fa4b510
Implement dynamic model cache on vanilla ItemModelShaper
2023-12-14 21:11:10 -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
2946b3a7b5
Handle path arrays with empty components correctly
...
Related: #304
2023-11-23 10:11:45 -05:00
embeddedt
a1f3300a8a
More ClientOnlyMixin
...
Related: #297
2023-11-23 09:50:47 -05:00
Bogdan
ef6c14a61e
Create ru_ru.json ( #303 )
2023-11-22 09:47:11 -05:00
notlin4
27167ea42c
Update zh_tw.json ( #302 )
2023-11-21 12:05:45 -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
7c0f8b8bef
Stop logging for suspicious async chunkloads if they complete quickly enough
2023-11-11 17:26:21 -05:00
embeddedt
215b797e7b
Fix replaceAll being broken on the model registry
...
Thanks Guava.
2023-11-07 17:26:01 -05:00
embeddedt
134dc0ef20
Fix path replacements being too aggressive
2023-11-05 21:58:42 -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
ced7f866d8
Revert "Use copy-on-write map for permanent overrides"
...
This solution is also not good enough. It causes catastrophic
time complexity with mods that call get and put in rapid
succession (i.e. every Forge mod using ModelBakeEvent)
2023-10-29 21:14:51 -04:00
embeddedt
621ecf6b3e
Use copy-on-write map for permanent overrides
2023-10-29 11:35:46 -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
89dab59980
Revert "Change permanentOverrides to ConcurrentHashMap"
...
This reverts commit a5b5733965 .
We require the ability to store null values in the map for now
2023-10-25 17:17:52 -04:00
embeddedt
f4ce7072a6
Enable dynamic sounds now that Guava issue is worked around
2023-10-25 15:03:16 -04:00
embeddedt
77760d7dd2
Remember previous scroll position on config screen
2023-10-25 14:56:37 -04:00
embeddedt
6740857274
Fix unsanitized input being passed to TinyFD
2023-10-24 12:45:13 -04:00
Phoenix-Starlight
9f040b2c43
Dynamic sounds code cleanup ( #264 )
2023-10-14 22:17:00 -04:00
embeddedt
a5b5733965
Change permanentOverrides to ConcurrentHashMap
...
Should help address thread contention noted while profiling
2023-10-14 13:24:26 -04:00
embeddedt
b567658318
Disable async_jei by default, to match newer versions
...
There have been a couple isolated reports of weird JEI behavior,
and this might be why
2023-10-14 13:20:26 -04:00
embeddedt
8059fc4672
Make clear_fabric_mapping_tables work on Fabric Loader 0.14.23
2023-10-13 10:47:44 -04:00
embeddedt
49c1bc71ba
Patch modded shape caches to be thread-safe
...
Related: #260
2023-10-13 10:47:44 -04:00
Phoenix-Starlight
e7277b89d5
Fix dynamic_sounds breaking on 1.16 ( #259 )
...
An issue in Guava (https://github.com/google/guava/issues/3081 ) causes the removal listener to fire even when entries haven't actually been removed. We filter them to get around this.
2023-10-12 22:19:46 -04:00
embeddedt
538d332310
Disable dynamic sounds by default until it can be tested more
2023-10-10 17:39:54 -04:00
羊羽ちゃん
504397bc23
Update ja_jp.json ( #255 )
2023-10-08 21:09:29 -04:00
embeddedt
bf6979e45b
Cleanup dynamic sounds patch, bump eviction time to 5 minutes
2023-10-07 18:44:33 -04:00
Phoenix-Starlight
803aaba204
Dynamic sound unloading ( #234 )
2023-10-07 18:41:52 -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
羊羽ちゃん
aa25e3f05e
Update ja_jp.json ( #248 )
2023-09-25 11:08:24 -04:00
I_am_Vietnam
b57eeb38de
Add vi_vn.json ( #247 )
2023-09-25 10:06:12 -04:00