Ladysnake / Cardinal-Components-API

Component API to add external data to objects.
https://www.curseforge.com/minecraft/mc-mods/cardinal-components
MIT License
167 stars 37 forks source link

Add mixined fallback for binary compatibility with beta 1 #171

Closed Pyrofab closed 5 months ago

Pyrofab commented 5 months ago

The addition of a new parameter to component serialization methods caused binary incompatibilities within a single minecraft version, which is rather unfortunate. This is an attempt at fixing this incompatibility in the most simple of cases.

Note that this PR only seeks to address binary incompatibility - source compatibility will still have to be addressed by dependencies.