Releases: Ladysnake/Cardinal-Components-API
Releases · Ladysnake/Cardinal-Components-API
v3.0.0-nightly.20w46a
Version 3.0.0:
The breaking changes are here !
- Updated to 20w45a
Additions
- Ticking components now work on any
BlockEntity
, not just those that already tick in vanilla
Changes
- Every class deprecated in 2.7.0 has been completely removed
- Every class remaining in the
nerdhub.component.*
packages has been moved to adev.onyxstudios.cca.*
package - Replaced specific factory interfaces with a generic variant (eg.
ComponentFactory
)
see full changelog here
v2.7.5
v3.0.0-nightly.1.17-20w45a
Version 3.0.0:
The breaking changes are here !
- Updated to 20w45a
Additions
- Ticking components now work on any
BlockEntity
, not just those that already tick in vanilla
Changes
- Every class deprecated in 2.7.0 has been completely removed
- Every class remaining in the
nerdhub.component.*
packages has been moved to adev.onyxstudios.cca.*
package - Replaced specific factory interfaces with a generic variant (eg.
ComponentFactory
)
see full changelog here
v2.7.4
Version 2.7.4:
Additions
- Added a
TransientComponent
utility interface, for components that do not store any data - Added a registration overload to
ItemComponentFactoryRegistry#registerFor
that takes an item directly
Fixes
- Fixed potential concurrency issues with
ComponentContainer.Factory.Builder
see full changelog here
v2.7.3
Version 2.7.3:
- Updated to 1.16.4
Changes
cardinal-components-item
will now verify that components attached toItemStack
s redefineequals
- This behaviour can be disabled by adding
-Dcca.debug.noverifyequals=true
to your VM options
- This behaviour can be disabled by adding
Fixes
- Fixed cardinal-components-block crashing on dedicated servers
see full changelog here
v2.7.2
v2.7.1
v2.7.0
Version 2.7.0:
Deprecated most classes from the nerdhub.component.* packages.
Those classes will be removed during the MC 1.17 update.
Additions
- Implemented the new synchronization in
cardinal-components-level
- Added
LevelComponents#sync
, replacingComponentKey#sync
for components attached toWorldProperties
- Added
- Implemented the new (serverside) ticking API in
cardinal-components-level
andcardinal-components-scoreboard
- Added a
CommonTickingComponent
interface, implementing both Client and Server variants
Changes
- Item components now use lazily initialization
- The
ComponentContainer
andComponentProvider
interfaces are no longer experimental - Refactored the sync API again, making it more flexible
- Deprecated the old AutoSyncedComponent interface
- Moved ticking interfaces to a separate package
- Deprecated the old ticking component interfaces
Fixes
- Fixed invalid metadata in the fabric.mod.json
- Fixed some hypothetical bugs with dropped items not merging
see full changelog here
v2.6.0
v2.5.4
Version 2.5.4:
- ComponentContainer iteration order is now the same as the factory registration order
- This means mods have some (limited) control over the order in which components are de-serialized/synchronized
- Removed the experimental tag from more methods
ComponentContainer.Factory#createContainer
now acceptsnull
arguments (but will NPE if a component factory does not expect it)
see full changelog here