Changes
- (Breaking) Renamed
OwoItemGroup.getBackgroundTexture
togetOwoBackgroundTexture
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 withBlurQuadElementRenderState
in accordance with the vanilla GUI rendering changes
Removed
(Block|Entity|Item)RegistryContainer
OwoItemSettings
, replaced by interface injection onItem.Settings
DraggableContainer.alwaysOnTop
CodecUtils.ofEndec
, replaced bytoCodec
ConfigScreen.(registerProvider|getProvider|forEachProvider)
, replaced byConfigScreenProviders
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
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 withBlurQuadElementRenderState
in accordance with the vanilla GUI rendering changes
Removed
(Block|Entity|Item)RegistryContainer
OwoItemSettings
, replaced by interface injection onItem.Settings
DraggableContainer.alwaysOnTop
CodecUtils.ofEndec
, replaced bytoCodec
ConfigScreen.(registerProvider|getProvider|forEachProvider)
, replaced byConfigScreenProviders
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 byOwoUIPipelines.GUI_HSV
OwoClient.BLUR_PROGRAM
has been replaced with theOwoBlurRenderer
, which uses the same shader and parameters under the hood
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 separatedrawTooltip
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