Skip to content

v2.5.0-nightly.1.16.2-rc2

Choose a tag to compare

@Pyrofab Pyrofab released this 12 Aug 12:48
· 137 commits to 1.16 since this release
43b3fd6

Version 2.5.0:

This release breaks compatibility between modules of different versions.

  • Updated cardinal-components-level, cardinal-components-world and cardinal-components-chunk to 1.16.2

Additions

  • Added a new API for block components (see PR #42)
  • Added a new API for scoreboard components (see PR #36)
  • Added reworked ComponentProvider and ComponentContainer interfaces to the V3 API
    • Refactored a lot of internal code to use the new types
  • Added ComponentV3 and ComponentRegistryV3 interfaces for early V3 adopters
  • Added a factory builder to the ComponentContainer interface for third-party ComponentProvider implementations
  • Added alternatives to registerFor methods taking a predicate, for fine-tuned registration

Changes

  • The NBT serialized form of ComponentContainer is now more space-efficient.
    • Instances serialized before this update should get converted as they load.
  • Removed experimental deprecated method EntityComponentFactoryRegistry#register (use registerFor)

Fixes

  • Fixed item components not being copied by the smithing table
  • Removed the Internal annotation from new API packages

see full changelog here