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

1.18M downloads
612 followers
Created3 years ago
Updated25 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

[1.20.2] oωo - 0.11.3

Changelog

Additions

  • Multiple tabs can now be selected simultaneously in a single OwoItemGroup (this behavior can be disabled for each group individually if not desired)
  • The new panelWithInset(...) surface allows building interfaces in the style of the Social Interactions screen
  • Sizing with different methods (for instance, content and fixed sizing) can now be animated between (there are no immediate API changes as a result of this, merely one less runtime warning and a new feature)
  • The base point (for layout calculations) and visual position (for rendering and interaction) of an owo-ui cmponent are now two separate concepts (this again comes without any breaking API changes, merely two new methods that should be called in the appropriate places)
  • Items can now automatically have their usage statistic tracked by owo through setting OwoItemSettings#trackUsageStat()
  • [Experimental] Screens can now implement the DisposableScreen interface if they need to be notified when the player actually closes all screens (that is, returns to the game) instead of immediately when navigating to a different screen (which might then later navigate back to the first screen)

Changes

  • Methods on owo-ui components which accept a collection of components now use upper-bounded generics instead of an explicit type to allow more specific collections at the call site
  • Sizing.fill() can now be called with zero arguments to indicate 100% fill
  • UIParsing.registerFactory(...) can and should now be called with an indentifier instead of a plain string for the element name
  • ParentComponent#childById(...) is no longer @Nullable, as it is generally expected to return a component in its most common use-case (querying the constituents of a UI model)

Fixes

  • Trimmed armor in an ItemComponent now renders properly (#152, Zailer43)
  • Explicitly positioned owo-ui components are no longer inflated twice for each single layout pass

Files

owo-lib-0.11.3+1.20.2.jar(892.4 KiB) Primary Download

External resources



Project members

Wisp Forest

Wisp Forest

Organization

BasiqueEvangelist

Member

Blodhgarm

Member

glisco

Owner


Technical information

License
MIT
Client side
optional
Server side
optional
Project ID