Changelog
Version 6.0.0:
Updated to 1.20.5/1.20.6
This update introduces multiple breaking changes - a migration guide is available on the Ladysnake website.
Additions
- Added
C2SSelfMessagingComponent
, a new experimental utility interface to simplify client-to-server messaging on player components - Added
WorldComponentRegistry#registerFor
methods, allowing for dimension-specific world components - Scoreboard and team components now support client ticking
Changes
- Migrated all packages from
dev.onyxstudios
toorg.ladysnake
- Updated documentation and licenses to reflect package change
RespawnCopyStrategy
now also applies on mob conversion- The
cardinal-components-level
module is now deprecated, as it is redundant with thecardinal-components-scoreboard
module- Mods are encouraged to move to scoreboard components, which serve the same purpose of global data storage and have an API more consistent with other modules
- Component registration now happens during mod init. This should fix some classloading-related issues, and make loading errors easier to diagnose.
- The internal ASM generation systems have been partially rewritten (thanks lukebemish !)
- All the serialization methods now take an additional registry lookup argument
- Warning: due to the above change, level components may not be deserialized correctly if a mod calls
LevelProperties.readProperties
instead ofLevelStorage.parseSaveProperties
Fixes
- Missing components (usually caused by removed mods) will no longer trigger a wall of warnings
- The number of warnings logged for each missing component type is configurable
Removals
- Removed item components. The
cardinal-components-item
module now contains anItemComponentMigrationRegistry
, which is used to help you migrate to vanilla components. - Removed
PlayerCopyCallback
- if you were using it, you can switch toServerPlayerEvents.COPY_FROM
from Fabric API - The deprecated
util
package incardinal-components-block
has been removed
see full changelog here
Files
cardinal-components-api-6.0.0.jar(223.71 KiB) Primary
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
6.0.0Loaders
FabricQuilt
Game versions
1.20.5–1.20.6Downloads
14007Publication date
June 2, 2024 at 8:18 PMPublisher
Pyrofab
Maintainer