Changes
- Updated to 1.21.4
- The tooltip of the UI managed by an OwoUIAdapter is no longer drawn directly inside the adapter's render method. Instead, the separate drawTooltip method must be invoked after rendering, allowing tooltips to be rendered definitively after all main UI
Fixes
- owo-ui tooltips in screens with layers should no longer stack with main UI incorrectly
- Endec encoding and decoding of optional fields in NBT has been fixed
Changes
- Updated to 1.21.4
- The tooltip of the UI managed by an
OwoUIAdapter
is no longer drawn directly inside the adapter's render method. Instead, the separatedrawTooltip
method must be invoked after rendering, allowing tooltips to be rendered definitively after all main UI
Fixes
- owo-ui tooltips in screens with layers should no longer stack with main UI incorrectly
- Endec encoding and decoding of optional fields in NBT has been fixed
Changes
- As a consequence of updating the endec library, the signatures of the
field(...)
methods on(De)Serializer.Struct
have changed to accomodate the new optional flattening methodology. If this causes trouble, contact us and we'll try to help
Fixes
- Optional struct fields should now always encode properly in self-described formats (namely JSON and NBT)
Primarily, this release constitutes the first port of owo-lib to 1.21.2/3. There were however also a number of other changes:
Additions
CodecUtils
now offers theeitherStructEndec(...)
andxorStructEndec(...)
methods for creating either/xor endecs which conform to theStructEndec
interface- The endec builder used for serializing owo-config options over the network can now be customized in the
ConfigWrapper
constructor
Changes
- As a consequence of the vanilla changes to item and block registration, the
AutoRegistryContainer
API is deprecated for the moment and might be (partially) removed in a future release. We're investigating potential alternatives - Which owo-ui components are used for the exclusion areas provided to REI and EMI can now be customized by overriding
BaseOwoHandledScreen#componentsForExclusionAreas()
Fixes
BaseOwoHandledScreen#enableSlot(Slot)
no longer incorrectly disables the slot