Calio 1.14.0-alpha.8 (Minecraft 1.21.x)
Pre-release
Pre-release
·
3 commits
to 1.21.x/dev
since this release
Additions
- Added
SerializableDataType#validateValuemethod, used for validating the type the data type operates on (if it implements theValidatableinterface)
Changes
- Deprecated
SimpleDataObjectFactoryin favor of usingDataObjectFactorydirectly viaDataObjectFactory#simple - Renamed
SerializableDataTypeListclass toListSerializableDataType - Renamed
FunctionedFieldImplclass toFunctionedDefaultFieldImpl - Renamed
OptionalFieldImplclass toDefaultedFieldImpl - Renamed
Field#pathmethod toField#name - Tweaked field presence check logic in
SerializableData$Instanceto ensure that the default value of fields are only checked if the field doesn't have any defined value - Separated setting of defaulted and functioned default fields of
SerializableData$Instance(when decoding) to avoid nullability issues functioned default fields relying on defaulted fields