Cardinal Components API

API for data-driven content

File Details

cardinal-components-api-6.0.0-beta.1.jar

  • B
  • Apr 19, 2024
  • 221.97 KB
  • 198
  • 1.20.5-Snapshot
  • Fabric

File Name

cardinal-components-api-6.0.0-beta.1.jar

Supported Versions

  • 1.20.5-Snapshot

Curse Maven Snippet

Fabric

modImplementation "curse.maven:cardinal-components-api-318449:5275308"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Version 6.0.0:

Updated to 1.20.5

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 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