Releases: wisp-forest/owo-lib
[1.21.11] oωo - 0.13.0
API Renamings
In preparation for future unobfuscated versions of the game, owo-lib is now developed using the official Mojang Mappings and relevant API elements have been renamed accordingly. Besides a number of straight-forward adaptations (like World -> Level), this also meant that the core class of owo-ui (previously Component) had to be renamed to UIComponent to avoid a name collision with net.minecraft.network.chat.Component. Related classes follow suit, e.g. ParentComponent -> ParentUIComponent, Containers -> UIContainers.
Language Extensions
In addition to Rich Translations, owo-lib now supports nested language files which help to greatly reduce repetition in language keys. Additionally, to reduce conflict potential, all of owo's language extensions are now opt-in. Check out the relevant section of the docs.
JSON5 Support
The majority of JSON files in any data/resource pack can be converted to use JSON5 when owo-lib is configured to read and convert them to JSON on-the-fly. Once again, check out the docs.
braid UI framework
Due to unforeseen technical circumstances (I did not want to remap the entire library twice), this build includes an early pre-alpha version of the upcoming braid UI framework. While reasonably well-tested and somewhat mature feature-wise, we do not consider it ready for release and we make absolutely no guarantees about API stability.
If you want to try it out or toy around with it anyways, check out the getting started guide. We'd love to get some early feedback!
[1.21.9+] oωo - 0.12.24
Additions
- owo-ui components can use the new
inspectorDescriptorgetter to customize the text displayed below them when the inspector is active ReadViewandWriteViewhave new methods for getting/setting values in them using keyed Endecs
Fixes
ModDataLoadernow works properly in a development environment using split sources- The surface setter on
DropdownComponentnow correctly returns the dropdown
[1.21.6+] oωo - 0.12.23
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
[1.21.9] oωo - 0.12.22
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
zIndexproperty of owo-ui components has been removed - it has been nonfunctional since 1.21.6
[1.21.6+] oωo - 0.12.22
Changes
- (Breaking) Renamed
OwoItemGroup.getBackgroundTexturetogetOwoBackgroundTextureto avoid a naming conflict when developing in an environment with Mojang Mappings
Fixes
DerivedComponentMapshould 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
[1.21.6+] oωo - 0.12.21
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
OwoBlurRendererhas been replaced withBlurQuadElementRenderStatein accordance with the vanilla GUI rendering changes
Removed
(Block|Entity|Item)RegistryContainerOwoItemSettings, replaced by interface injection onItem.SettingsDraggableContainer.alwaysOnTopCodecUtils.ofEndec, replaced bytoCodecConfigScreen.(registerProvider|getProvider|forEachProvider), replaced byConfigScreenProviders
[1.21.5] oωo - 0.12.21
Fixes
- The blur pipeline now uses a custom vertex shader to avoid a random fog code dependency
OwoBlurRenderernow uses the depth buffer in its render pass to fix blur rendering issues on some drivers- owo no longer accidentally overwrites the vanilla
gui_texturedrender pipeline
[1.21+] oωo - 0.12.15.4+1.21
Fixes
- Fixed the optional flattening implementation introduced in the last build
- Decoding of sequence elements in NBT has been made idempotent
[1.21.5] oωo - 0.12.20
Changes
- Updated to 1.21.5
- As a consequence of the changes to Minecraft's rendering backend, the
GlProgramAPI 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_PROGRAMhas been superseded byOwoUIPipelines.GUI_HSVOwoClient.BLUR_PROGRAMhas been replaced with theOwoBlurRenderer, which uses the same shader and parameters under the hood
[1.21+] oωo - 0.12.15.2+1.21
Fixes
- Backport optional flattening fixes from 0.12.17