CoreTweaks 0.3.1
Additions:
- Added optimization that makes some of Forge's class transformers skip classes they wouldn't alter anyway (
forge_fast_wildcard_transformers
) - Added optimization that excludes some commonly used libraries with a lot of classes from class transformation (
exclude_library_transformation
) - Added tweak that makes the errors of the MapStorage class more informative (
enhance_map_storage_errors
)
Major changes:
- The lite transformer cache now only stores diffs instead of the entire new class. This reduces the size of the cache by ~40-70%, with the downside that transformation now takes slightly longer than before. This can be disabled to prioritize speed.
- Greatly sped up
fast_default_resource_pack
optimization, and fixed it not working in production. It is now enabled by default. - Changed
extend_sprint_time_limit
to be enabled by default - Changed default value of cloud height check to
VARIABLE_CORRECTED
, since making clouds transparent causes rendering issues
Minor changes:
- Jar discoverer cache improvements:
- Fixed a bunch of classes getting loaded even if it's turned off
- Fixed crash with LWJGL3ify
- Made serialized classes get registered explicitly, improving security
- Lite transformer cache improvements:
- Initialize earlier, allowing more transformations to be cached. (This can be disabled if it causes issues.)
- Fixed null outputs not getting cached
- Changed transformer wrapping to be less confusing to other mods (CoreTweaks will generate wrapper classes that use the same package name and class name prefix as the original class)
- Made serialized classes get registered explicitly, improving security
- Fixed lite and full transformer caches being incompatible with LWJGL3ify
- Reimplemented
fast_folder_resource_pack
optimization in a better way that avoids unnecessary work - Fixed NPE in
optimize_get_pending_block_updates
optimization - Made
forge_mod_discoverer_skip_known_libraries
mark lombok as library (fixes some log spam in dev environment)