Cardinal-Components-API

Component API to add external data to objects.

MIT License

Stars
151
Committers
13

Bot releases are hidden (Show)

Cardinal-Components-API - v4.0.0

Published by Pyrofab almost 3 years ago

Version 4.0.0:

Updated to 1.18

Removed

  • Removed serializable item components
    • Item components must now save all their data in the stack NBT
    • Consider switching to API Lookup API where possible
  • Removed the cardinal-components-util module
    • According to Github no one ever used it, but if you did, and you see no currently available alternative, please open an issue

see full changelog here

Cardinal-Components-API - v4.0.0-alpha.1+21w37a

Published by Pyrofab about 3 years ago

Version 4.0.0:

Alpha 1

Updated to 21w37a

Removed

  • Removed serializable item components
    • Item components must now save all their data in the stack NBT
    • Consider switching to API Lookup API where possible
  • Removed the cardinal-components-util module
    • According to Github no one ever used it, but if you did and you see no currently available alternative, please open an issue

see full changelog here

Cardinal-Components-API - v3.1.1

Published by Pyrofab about 3 years ago

Version 3.1.1:

Fixes

  • Fixed explicit component ordering being ignored during registration

Changes

  • Deprecated the cardinal-components-util module for future removal

see full changelog here

Cardinal-Components-API - v3.1.0

Published by Pyrofab about 3 years ago

Version 3.1.0:

Additions

  • Added an experimental way to order entity and BE components through Registration#after(ComponentKey)
    • This allows mods to ensure components are deserialized/synchronized/ticked in the right order if needed
    • Components that are not ordered through this mechanism will keep their registration ordering

see full changelog here

Cardinal-Components-API - v3.0.1

Published by Pyrofab over 3 years ago

Version 3.0.1:

Fixes

  • Fixed scoreboard (and team) components not always being saved

see full changelog here

Cardinal-Components-API - v3.0.0

Published by Pyrofab over 3 years ago

Version 3.0.0:

The breaking changes are here !

Additions

  • Ticking components now work on any BlockEntity, not just those that already tick in vanilla

Changes

  • Most experimental classes and methods have been promoted to stable
  • Every class remaining in the nerdhub.component.* packages has been moved to a dev.onyxstudios.cca.* package
  • Replaced specific factory interfaces with a generic variant (e.g. ComponentFactory)
  • Added RespawnCopyStrategy#get(ComponentKey) to retrieve the strategy for a given component
  • RespawnCopyStrategy now considers whether the player is switching to another character
    • this can be used by mods which allow switching to another body or taking over the body of another player (e.g. Requiem)
    • Mods that previously used RespawnCopyStrategy.ALWAYS may be interested in using RespawnCopyStrategy.CHARACTER instead.
  • Initialization errors should now be way less cryptic
  • Updated Mod Menu metadata

Removed

  • Every class and method deprecated in 2.7.0 has been completely removed
  • Every class and method deprecated in 2.8.0 has been completely removed
    • Users should migrate their BE-less block components to Fabric API's API Lookup API

see full changelog here

Cardinal-Components-API - v3.0.0-nightly.1.17-pre2

Published by Pyrofab over 3 years ago

Version 3.0.0:

The breaking changes are here !

3.0.0-nightly.1.17-pre2

  • Updated to 1.17-pre2
  • Fixed networking error in cardinal-components-scoreboard when loading a world

3.0.0 General Changelog

Additions

  • Ticking components now work on any BlockEntity, not just those that already tick in vanilla

Changes

  • Every class remaining in the nerdhub.component.* packages has been moved to a dev.onyxstudios.cca.* package
  • Replaced specific factory interfaces with a generic variant (eg. ComponentFactory)
  • Added RespawnCopyStrategy#get(ComponentKey) to retrieve the strategy for a given component
  • RespawnCopyStrategy now considers whether the player is switching to another character
    • this can be used by mods which allow switching to another body or taking over the body of another player (e.g. Requiem)
    • Mods that previously used RespawnCopyStrategy.ALWAYS may be interested in using RespawnCopyStrategy.CHARACTER instead.
  • Updated Mod Menu metadata

Removed

  • Every class and method deprecated in 2.7.0 has been completely removed
  • Every class and method deprecated in 2.8.0 has been completely removed
    • Users should migrate their BE-less block components to Fabric API's API Lookup API

see full changelog here

Cardinal-Components-API - v3.0.0-nightly.1.17-pre1

Published by Pyrofab over 3 years ago

Version 3.0.0:

The breaking changes are here !

3.0.0-nightly.1.17-pre1

  • Updated to 1.17-pre1

Additions

  • Exposed a way to retrieve the RespawnCopyStrategy for a given component

Changes

  • RespawnCopyStrategy now considers whether the player is switching to another character
    • this can be used by mods which allow switching to another body or taking over the body of another player (e.g. Requiem)
    • Mods that previously used RespawnCopyStrategy.ALWAYS may be interested in using RespawnCopyStrategy.CHARACTER instead.
  • Updated Mod Menu metadata

3.0.0 General Changelog

Additions

  • Ticking components now work on any BlockEntity, not just those that already tick in vanilla

Changes

  • Every class remaining in the nerdhub.component.* packages has been moved to a dev.onyxstudios.cca.* package
  • Replaced specific factory interfaces with a generic variant (eg. ComponentFactory)

Removed

  • Every class and method deprecated in 2.7.0 has been completely removed
  • Every class and method deprecated in 2.8.0 has been completely removed
    • Users should migrate their BE-less block components to Fabric API's API Lookup API

see full changelog here

Cardinal-Components-API - v2.8.3

Published by Pyrofab over 3 years ago

Version 2.8.3:

Fixes

  • Actually fixed the crash with mods using the deprecated API on Fabric API versions older than 0.34.0

see full changelog here

Cardinal-Components-API - v3.0.0-nightly.21w19a

Published by Pyrofab over 3 years ago

Version 3.0.0:

The breaking changes are here !

3.0.0-nightly.21w14a

  • Updated to 21w14a
  • Removed the classes and methods deprecated in 2.8.0
    • Users should migrate their BE-less block components to Fabric API's API Lookup API

3.0.0 General Changelog

Additions

  • Ticking components now work on any BlockEntity, not just those that already tick in vanilla

Changes

  • Every class and method deprecated in 2.7.0 has been completely removed
  • Every class remaining in the nerdhub.component.* packages has been moved to a dev.onyxstudios.cca.* package
  • Replaced specific factory interfaces with a generic variant (eg. ComponentFactory)

see full changelog here

Cardinal-Components-API - v2.8.2

Published by Pyrofab over 3 years ago

Version 2.8.2:

Fixes

  • Fixed a crash with mods using the deprecated API on Fabric API versions older than 0.34.0

see full changelog here

Cardinal-Components-API - v2.8.1

Published by Pyrofab over 3 years ago

Version 2.8.1:

Fixes

  • Fixed a crash at launch with Fabric API 0.34.0 and up (1.17 versions are unaffected)

see full changelog here

Cardinal-Components-API - v3.0.0-nightly.21w14a

Published by Pyrofab over 3 years ago

Version 3.0.0:

The breaking changes are here !

3.0.0-nightly.21w14a

  • Updated to 21w14a
  • Removed the classes and methods deprecated in 2.8.0
    • Users should migrate their BE-less block components to Fabric API's API Lookup API

3.0.0 General Changelog

Additions

  • Ticking components now work on any BlockEntity, not just those that already tick in vanilla

Changes

  • Every class and method deprecated in 2.7.0 has been completely removed
  • Every class remaining in the nerdhub.component.* packages has been moved to a dev.onyxstudios.cca.* package
  • Replaced specific factory interfaces with a generic variant (eg. ComponentFactory)

see full changelog here

Cardinal-Components-API - v2.8.0

Published by Pyrofab over 3 years ago

Version 2.8.0:

Additions

  • Added helper methods in BlockComponents to expose block components through Fabric API API-API API

Changes

  • Methods and classes in cardinal-components-block which purpose was to access components on regular blocks have been
    scheduled for removal as they are now superseded by APIΒ²

see full changelog here

Cardinal-Components-API - v2.7.13

Published by Pyrofab over 3 years ago

Version 2.7.13:

Fixes

  • Fixed a crash when registering scoreboard components
  • Fixed a serialization issue when an item stack got initialized with an empty component container

see full changelog here

Cardinal-Components-API - v2.7.12

Published by Pyrofab over 3 years ago

Version 2.7.12:

Fixes

  • Fixed a potential issue with ItemComponent's tag invalidation

see full changelog here

Cardinal-Components-API - v3.0.0-nightly.21w06a

Published by Pyrofab over 3 years ago

Version 3.0.0:

The breaking changes are here !

  • Updated to 21w06a

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 a dev.onyxstudios.cca.* package
  • Replaced specific factory interfaces with a generic variant (eg. ComponentFactory)

see full changelog here

Cardinal-Components-API - v2.7.11

Published by Pyrofab over 3 years ago

Version 2.7.11:

Additions

  • Added the missing helper method ItemComponent#putUuid

Fixes

  • Fixed dynamic entity component registration
  • Fixed a crash with the scoreboard plugin when a save file has scoreboard teams

see full changelog here

Cardinal-Components-API - v2.7.10

Published by Pyrofab almost 4 years ago

Version 2.7.10:

Additions

  • Added ItemComponent, an experimental component implementation that stores all its data in the stack's tag
  • Added ScoreboardComponentFactoryV2, giving access to the server holding the scoreboard (if any)
  • Added TeamComponentFactoryV2, giving access to the scoreboard holding the team and its server (if any)

Changes

  • Promoted ComponentPacketWriter and PlayerSyncPredicate to stable API
  • Further optimized ItemStack components
  • A copy of the MIT license is now bundled with every CCA jar

see full changelog here

Cardinal-Components-API - v3.0.0-nightly.20w48a

Published by Pyrofab almost 4 years ago

Version 3.0.0:

The breaking changes are here !

  • Updated to 20w48a

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 a dev.onyxstudios.cca.* package
  • Replaced specific factory interfaces with a generic variant (eg. ComponentFactory)

see full changelog here

Related Projects