v2.4.0-nightly.1.16-pre5
Pyrofab
released this
13 Jun 16:22
·
188 commits
to 1.16
since this release
Version 2.4.0:
2.4.0-nightly.1.16-pre5
cardinal-components-item
no longer alters the layout of packets encoding ItemStacks- Added a
PlayerComponent
interface that can replaceRespawnCopyStrategy
- Removed some experimental not very useful methods in ComponentRegistry
2.4.0 General Changelog
Backwards-compatibility note: while this release is compatible with older applications,
some classes have been moved to a new module called cardinal-components-util
.
If you are missing some types, or if you use the cardinal-components-block
module,
you need to add a dependency on that module.
Compatibility between modules of different versions has been broken in 2.4.0-nightly.1.16-pre4.
In case of crashes due to those incompatibilities, Modpack makers and players can add the latest version
of the full library to their mods folder to update every module at once.
- Updated entity, item, chunk, world, and level modules to MC 1.16
Additions
- Added statically declared components (experimental feature !)
- Mods can declare and attach their components using dedicated entrypoints, typically subclasses of
StaticComponentInitializer
. - Developers can add
-Dcca.debug.asm=true
to their VM options to help debug CCA's issues with static component generation
- Mods can declare and attach their components using dedicated entrypoints, typically subclasses of
- Added a new module -
cardinal-components-util
- Most classes that were not essential to CCA working got moved from
cardinal-components-base
to that module - Added
LazyComponentType
, allowing mods to retrieve aComponentType
handle before it is registered
- Most classes that were not essential to CCA working got moved from
- Added
ItemComponentCallbackV2
andItemComponentFactoryV2
as alternatives respectively toItemComponentCallback
andItemComponentFactory
,
passing the stack's true item as context. - Added
Dynamic
conversion methods toNbtSerializable
(defaulted to delegate to nbt serialization) - Added
PlayerComponent
, an experimental interface replacingRespawnCopyStrategy
Changes
- TypeAwareComponent now has a default implementation in most subinterfaces
- It is no longer possible for a
ComponentCallback
to override an existing component - Networking errors should now be logged before they get swallowed by Netty
cardinal-component-item
should no longer prevent players from connecting to vanilla servers- Internal classes and new interfaces are now in the
dev.onyxstudios.cca
package
Fixes
- Fixed
PlayerSyncCallback
not firing when a player is teleported to another dimensions through commands - Fixed Cardinal-Components-Item preventing vanilla clients from connecting to modded servers and vice-versa
see full changelog here