oωo (owo-lib)

oωo (owo-lib)

Mod

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

Client and server Library

18.90M downloads
1,691 followers
Follow Save
Filter loader...
Filter versions...
Filter channels...

Additions

  • owo-ui components can use the new inspectorDescriptor getter to customize the text displayed below them when the inspector is active
  • ReadView and WriteView have new methods for getting/setting values in them using keyed Endecs

Fixes

  • ModDataLoader now works properly in a development environment using split sources
  • The surface setter on DropdownComponent now correctly returns the dropdown

Fixes

  • Labels with text that has an empty style no longer crash when clicked on
  • Scissoring on draw contexts which have complex transforms should no longer incorrectly cut off content

Changes

  • Ported to 1.21.9: Most features seem to work well from our limited testing, however full library coverage is not guaranteed. Please report any problems you find
  • The zIndex property of owo-ui components has been removed - it has been nonfunctional since 1.21.6

Add AT entry for simple map of DataComponentMap to resolve crashing

Attempt to resolve issues with client side loading of classes and methods leading to crashes

Fix issues with MergedComponentMapMixin At targets due to not being remapped

Changes

  • (Breaking) Renamed OwoItemGroup.getBackgroundTexture to getOwoBackgroundTexture to avoid a naming conflict when developing in an environment with Mojang Mappings

Fixes

  • DerivedComponentMap should play more nicely with other mods that manually check for component equality
  • owo-ui blur no longer flickers occasionally
  • owo-ui scissoring no longer incorrectly stops rendering elements that are partially off-screen. This is most noticeable in scroll containers, like the one used in owo config

This release is primarily a port to 1.21.6/7. Due to the massive vanilla refactors around GUI rendering in particular, this is a larger-than-usual update and we expect there will be some bugs and porting mistakes - please report anything you find!

Changes

  • OwoBlurRenderer has been replaced with BlurQuadElementRenderState in accordance with the vanilla GUI rendering changes

Removed

  • (Block|Entity|Item)RegistryContainer
  • OwoItemSettings, replaced by interface injection on Item.Settings
  • DraggableContainer.alwaysOnTop
  • CodecUtils.ofEndec, replaced by toCodec
  • ConfigScreen.(registerProvider|getProvider|forEachProvider), replaced by ConfigScreenProviders

Fixes:

  • Issues where flashing occurred with owo blur renderer
  • Incorrect scissoring behavior leading to non rendering gui elements particularly with scroll containers in owo configs.
  • Proper fix for DerivedComponentMap equality
  • Fix possible issues with Optional reading and writing within NBT losing references due to use of IdentityHolder

Neoforge

Changes to how classes persist due to the removal of @OnlyIn could lead to issues but mostly taken care of.

Attempt fix for issues with equality with DerivedComponentMap which resolves issues with other mods like Pastel

Update attempts to remove dependency on FFAPI to resolve issues, fix missing owo item groups, and pull from upstream 1.21.1, and fix issues with optional serialization issues

This release is primarily a port to 1.21.6/7. Due to the massive vanilla refactors around GUI rendering in particular, this is a larger-than-usual update and we expect there will be some bugs and porting mistakes - please report anything you find!

Changes

  • OwoBlurRenderer has been replaced with BlurQuadElementRenderState in accordance with the vanilla GUI rendering changes

Removed

  • (Block|Entity|Item)RegistryContainer
  • OwoItemSettings, replaced by interface injection on Item.Settings
  • DraggableContainer.alwaysOnTop
  • CodecUtils.ofEndec, replaced by toCodec
  • ConfigScreen.(registerProvider|getProvider|forEachProvider), replaced by ConfigScreenProviders

Initial port of owolib 0.12.21 for Neoforge

Fixes

  • The blur pipeline now uses a custom vertex shader to avoid a random fog code dependency
  • OwoBlurRenderer now uses the depth buffer in its render pass to fix blur rendering issues on some drivers
  • owo no longer accidentally overwrites the vanilla gui_textured render pipeline

Fixes

  • Fixed the optional flattening implementation introduced in the last build
  • Decoding of sequence elements in NBT has been made idempotent

Changes

  • Updated to 1.21.5
  • As a consequence of the changes to Minecraft's rendering backend, the GlProgram API has been removed since it is no longer necessary
  • As a further consequence of the above change, owo's built-in programs have changed API:
    • OwoClient.HSV_PROGRAM has been superseded by OwoUIPipelines.GUI_HSV
    • OwoClient.BLUR_PROGRAM has been replaced with the OwoBlurRenderer, which uses the same shader and parameters under the hood

Fixes

  • Backport optional flattening fixes from 0.12.17

Fixes:

  • Fix issues with errors relating to texture identifier being null
  • Fix issue involved with ModDataLoader on Connector not being able to get any mod list

Fixes issues for devs due to improper declaration of Access Widner


Project members

Wisp Forest

Wisp Forest

Organization

glisco

Owner

BasiqueEvangelist

Member

Blodhgarm

Member

chyzman

not a fucking training dummy wtf

Details

Licensed MIT
Published 4 years ago
Updated 11 days ago