Releases: Ladysnake/Cardinal-Components-API
Releases · Ladysnake/Cardinal-Components-API
v5.4.0
v5.3.0
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
utils
package incardinal-components-block
as it is now virtually unusable
see full changelog here
v5.2.2
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")
v5.2.1
v5.1.0
v5.0.2
v5.0.1
v5.0.0
Version 5.0.0:
Updated to MC 1.19
Additions
- Component providers now expose the
ComponentAccess
interface through Loom's interface injectionComponentAccess
addsgetComponent
as an alternative toComponentKey#get
, andsyncComponent
as 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
v4.2.0
v5.0.0-beta.1
Version 5.0.0:
Updated to MC 1.19
Additions
- Component providers now expose the
ComponentAccess
interface through Loom's interface injectionComponentAccess
addsgetComponent
as an alternative toComponentKey#get
, andsyncComponent
as 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