Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Cardinal Components API

Cardinal Components API

A data attachment API that is easy, modular, and extremely fast.

5.37M
772
Library

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x

Platforms

Fabric
Quilt

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server
Donate on Ko-fi

Creators

Ladysnake
LadysnakeOrganization

Up
Up Former Author
Pyrofab
Pyrofab Maintainer

Details

Licensed MIT
Published 3 years ago
Updated last week
DescriptionChangelogVersions
All versions6.0.0-rc1

6.0.0-rc1

Download
Report

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.

Release Candidate 1

Fixes

  • Fixed respawn copy strategies not being correctly registered for player entities

Pre-Release 3

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

Pre-Release 2

Fixes

  • The library no longer requires Loom 1.7-alpha to be used in dev workspaces

Pre-Release 1

Changes

  • 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 !)

Beta 3

Fixes

  • Fixed the most basic binary incompatibilities with mods compiled for beta 1

Beta 2

Changes

  • All the serialization methods now take an additional registry lookup argument
    • Relevant migration guide
  • Warning: due to the above change, level components may not be deserialized correctly if a mod calls LevelProperties.readProperties instead of LevelStorage.parseSaveProperties

Removals

  • The deprecated util package in cardinal-components-block has been removed

Beta 1

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 to org.ladysnake
  • Updated documentation and licenses to reflect package change
  • RespawnCopyStrategy now also applies on mob conversion
  • The cardinal-components-level is now deprecated, as it is redundant with the cardinal-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

Removals

  • Removed item components. The cardinal-components-item module now contains an ItemComponentMigrationRegistry, which is used to help you migrate to vanilla components.
  • Removed PlayerCopyCallback - if you were using it, you can switch to ServerPlayerEvents.COPY_FROM from Fabric API

see full changelog here

Files

cardinal-components-api-6.0.0-rc1.jar(223.82 KiB) Primary
Download

Metadata

Release channel

Release

Version number

6.0.0-rc1

Loaders

Fabric Quilt

Game versions

1.20.5–1.20.6

Downloads

1438

Publication date

May 23, 2024 at 10:42 PM

Publisher

Pyrofab

Pyrofab

Maintainer

Version ID

Modrinth is open source.

main@4bafae8

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.