oωo (owo-lib)

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

File Details

[1.20.1] oωo - 0.11.1

  • R
  • Jul 3, 2023
  • 884.04 KB
  • 324.3K
  • 1.20.1+1
  • Fabric + 1

File Name

owo-lib-0.11.1+1.20.jar

Supported Versions

  • 1.20.1
  • 1.20

Curse Maven Snippet

Fabric

modImplementation "curse.maven:owo-lib-532610:4623695"

Quilt

modImplementation "curse.maven:owo-lib-532610:4623695"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Fixes

  • The ltr-text-flow algorithm for flow layouts no longer miscalculates its columns in some situations (#137)
  • Clearing the text field of a color config option no longer crashes the game (#128)
  • The owo-config annotation processor should now generate type interfaces in a deterministic order every time its ran (#139)

Changes

  • OwoUIDrawContext.of(...) now inherits the matrix- and scissor-stacks of the source context - this is more intuitive given how the method is named and used & fixes a few transform-related problems in owo-ui
  • The ReiUIAdapter now flushes the draw buffer when its finished rendering to prevent mysteriously empty tooltips
  • Item insertion order when transferring container->player inventory using ScreenUtils.handleSlotTransfer(...) has been reversed to match vanilla behavior

Additions

  • A set of new interface-injected methods on DrawContext enable easy, fluent matrix-stack manipulation directly on the associated draw context (#136, Blodhgarm)
  • owo-ui now also provides exclusion zones to EMI (#103, Abbie5)
  • ItemOps.decrementPlayerHandItem(...) and .emptyAwareDecrement(...) gained new overloads which accept a count instead of always decrementing by 1 (#141, chyzman)