azurelib-forge-1.12.2-1.0.6.jar
Curse Maven Snippet
What's new
v1.0.6
Additions
- N/A
Fixes
- Fixed a black box appearing beside the potion effect panel in inventory screens while an AzureLib item was held on the cursor. AzureLib left GL blend disabled after rendering a GUI item, so the transparent part of the effect background drew as opaque black.
Changes
AzItemGuiRenderUtilnow restores the GL state vanilla's GUI item rendering leaves behind after drawing an AzureLib item: blend on withSRC_ALPHA/ONE_MINUS_SRC_ALPHA, alpha funcGREATER 0.1, depth on, colour reset to white, and the block atlas rebound.
Developer Notes
- Any GUI code drawn after an AzureLib item (potion effects, tooltips, other mods' overlays) now sees the same GL state it would after a vanilla item.
This mod has no additional files