Calio 1.14.0-alpha.8 (Minecraft 1.21.x)
Pre-release
Pre-release
Additions
- Added
SerializableDataType#validateValue
method, used for validating the type the data type operates on (if it implements theValidatable
interface)
Changes
- Deprecated
SimpleDataObjectFactory
in favor of usingDataObjectFactory
directly viaDataObjectFactory#simple
- Renamed
SerializableDataTypeList
class toListSerializableDataType
- Renamed
FunctionedFieldImpl
class toFunctionedDefaultFieldImpl
- Renamed
OptionalFieldImpl
class toDefaultedFieldImpl
- Renamed
Field#path
method toField#name
- Tweaked field presence check logic in
SerializableData$Instance
to 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