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