Commit Graph

814 Commits

Author SHA1 Message Date
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
d854fcffff
Move stalled async chunk load detection to its own config
This seems to sometimes be a hotspot in profiling, and the log
message is not commonly reported nowadays, indicating most mods
have probably fixed their code.
2024-03-17 15:06:58 -04:00
embeddedt
e6bb67cb05
Disable the testmod by default 2024-03-14 22:13:45 -04:00
embeddedt
40b9ac6002
Disable pose stack bugfix when OptiFine is installed
Related: #376
2024-03-08 17:49:46 -05:00
embeddedt
a45783647f
Make the block model cache thread-local instead of using a lock 2024-03-04 16:37:50 -05: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
embeddedt
f12d7723c0
Call onDynamicResourcesStatusChange if dynamic resources is enabled 2024-02-02 20:38:25 -05:00
embeddedt
2c963888b5 Don't run mappings clearer on FL 0.15+, it's not needed
Related: #329
2024-01-30 15:47:16 -05:00
Kichura
20c0f3dd6a
Update GitHub workflows (#358) 2024-01-28 13:15:27 -05:00
Fury_Phoenix
c749fc1aeb
Tidy up version detection (#352) 2024-01-25 15:19:37 -05:00
embeddedt
94ca6ccdd6 Add bug report template, heavily derived from Sodium 2024-01-18 16:14:37 -05:00
embeddedt
d7146a0667
Restrict resource pack cache to assets/ and data/ folders 2024-01-13 11:15:19 -05:00
embeddedt
03e7df5308 Make dynamic maps return empty immutable collections instead of throwing 2024-01-12 15:28:34 -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
embeddedt
d0fd498682
Suppress mixin forceload logging when clear_mixin_info is on 2024-01-01 12:25:16 -05:00
embeddedt
1da264e5a7
Bump Fabric Loader 2023-12-30 19:05:20 -05:00
embeddedt
db5a3234d2
Update MixinExtras 2023-12-30 18:59:44 -05:00
embeddedt
e301d7d480
Shadow annotations project so they are in the production jar 2023-12-28 14:08:32 -05:00
embeddedt
8d6a344ded
Use correct comment style 2023-12-28 14:08:25 -05:00
embeddedt
4512bc6fbd
Generate config options from both 'mixins' and 'client' keys 2023-12-28 12:31:29 -05:00
embeddedt
4f49ba3f9b
Apply excludedTaskNames in the testmod subproject rather than globally 2023-12-28 12:31:00 -05:00
Fury_Phoenix
7e53a8bc73
Eliminate extraneous casts (#327) 2023-12-28 09:38:54 -05:00
Fury_Phoenix
06bfd71d07
Generate mixin configs automatically using custom AP (#305) 2023-12-28 09:36:49 -05:00
embeddedt
ae8cfbaa3d
Disable dynamic DFU when Litematica is installed 2023-12-27 19:12:11 -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
152cdc4469
Disable ModelDataManager fixes if Rubidium is installed
Since legacy Rubidium versions only retrieve model data on a worker
thread, the data will probably never be refreshed, causing rendering
issues.
2023-12-27 15:19:13 -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
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