Skip to content

Calio 1.14.0-alpha.8 (Minecraft 1.21.x)

Pre-release
Pre-release
Compare
Choose a tag to compare
@eggohito eggohito released this 30 Nov 22:45
eefbdac

Additions

  • Added SerializableDataType#validateValue method, used for validating the type the data type operates on (if it implements the Validatable interface)

Changes

  • Deprecated SimpleDataObjectFactory in favor of using DataObjectFactory directly via DataObjectFactory#simple
  • Renamed SerializableDataTypeList class to ListSerializableDataType
  • Renamed FunctionedFieldImpl class to FunctionedDefaultFieldImpl
  • Renamed OptionalFieldImpl class to DefaultedFieldImpl
  • Renamed Field#path method to Field#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