Version 5.3.0:
Updated to 1.20.2
Additions
- Added load- and unload-aware components as an experimental feature
- This can be used to implement advanced initialization and cleanup 🧽
Changes
- Deprecated the
utilspackage incardinal-components-blockas it is now virtually unusable
see full changelog here
Version 5.2.2:
Fixed chunk components being lost during deserialization (thanks to Stuff-Stuffs !)
see full changelog [here](https://github.com//Cardinal Components Api/blob/5.2.2/changelog.md "Changelog")
Version 5.0.0:
Updated to MC 1.19
Additions
- Component providers now expose the
ComponentAccessinterface through Loom's interface injectionComponentAccessaddsgetComponentas an alternative toComponentKey#get, andsyncComponentas an alternative toComponentKey#sync- It is now recommended to use e.g.
entity.getComponent(KEY)instead ofKEY.get(entity), as this enforces type checking
see full changelog here
Version 4.2.0:
Additions
- Players can now set the
log-deserialization-warningsoption to toggle warnings when a component fails to be resolved (typically due to mods being removed)
Mod Compatibility
- Fixed incompatibility with Immersive Portals
see full changelog here
Version 5.0.0:
Updated to MC 1.19
Additions
- Component providers now expose the
ComponentAccessinterface through Loom's interface injectionComponentAccessaddsgetComponentas an alternative toComponentKey#get, andsyncComponentas an alternative toComponentKey#sync- It is now recommended to use e.g.
entity.getComponent(KEY)instead ofKEY.get(entity), as this enforces type checking
see full changelog here



