oωo (owo-lib)

oωo (owo-lib)

Mod

A general utility, GUI and config library for modding on Fabric and Quilt

Client or server Library

6.60M downloads
1,226 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

Deal with issues involving recent changes to neos reload listeners changes

Changes

  • Tooltip rendering on the owo-ui screen template classes can now be customized by overriding drawComponentTooltip

Fixes

  • owo-ui screens built using the provided template classes no longer stop rendering their tooltip after reinitializing (#314, Blodhgarm)

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 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

Update to fix issues where networking would only register within debug environment.

Removes final bit of renderdoc code

Update to 1.21.3 which brings less of a reliance on FFAPI and disabled RenderDoc utility to use neos RenderNurse within the future

Disable RenderDoc Utils to be replaced with Neos RenderNurse

Fix issues with config screens being non existant though mod info screen

Fixes

  • TextureComponent rendering now works properly again

Fix issues where during a ModLoading error, owolib would be blamed for Shader loading issues due to neos continuation of general asset loading

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)

Update version to be consistent with maven

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 the eitherStructEndec(...) and xorStructEndec(...) methods for creating either/xor endecs which conform to the StructEndec 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

Fixes issues with Concurrent Modification Exception with FFAPI networking

Initial Release of owo for Neoforge. Yippie!

Changes / Fixes

This release fundamentally changes the implementation used for Endec/Codec interop. Instead of always using EDM as the intermediary format, the framework will now try to determine if a format-appropriate (De)Serializer/DynamicOps implementation is available and use it if so. This means that the serialized representation of all data structures should now be both consistent and preserved correctly when in complex nested scenarios, something we hope will alleviate an entire class of bugs. Most of these are related to serialized EDM which turns out unrepresentable in NBT, but other formats might have been affected too

Additions

  • CursorStyle now includes the whole range of standard cursors implemented by GLFW (#296, chyzman)

Fixes

  • Scissor coordinates are now clamped before passing them to OpenGL in the ScissorStack utility - this fixes a bunch of edge-cases with mods like Ok Boomer
  • Using a cursor style which is unsupported by the host OS no longer causes a crash when trying to dispose the screen (#301)

Fixes

  • Modifying the message of a CheckboxComponent now functions correctly again
  • The experimental derived components API, which breaks stack equality in 0.12.12, should now work without crashes and without that bug (#298)

Project members

Wisp Forest

Wisp Forest

Organization

glisco

Owner

BasiqueEvangelist

Member

Blodhgarm

Member

Details

Licensed MIT
Published 3 years ago
Updated 9 days ago