·
2 commits
to master
since this release
Updated to version 26.1.x
Major Highlights for Users:
- Removed YACL: YACL dependency has been removed and replaced.
- Better Minecraft Skin: MinecraftSkin has been enhanced with UI sound effects, better search and cursor change.
- Tooltips: More tooltips have been added for widgets as well as options.
- Customisated: Widgets will now look more customised and smooth.
Major Changes for Developers:
- [Feat.] TextWidget (String -> Component): The text widget now also accepts a component as well as a String through the registry supplier. Components can be styled using MutableComponent when passing to the supplier.
- [Update] DynamicValueReigstry rewritten: The registry has become fully shared and now requires Identifier as key.
- [Fix.] Styled characters in drawChromaText:
drawChromaTextnow accepts and renders components with their original styles. - [Refactor]:
drawScalableTextanddrawTruncatedScaledTexthave been moved toDrawHelper. - [Feat.]
Util.getSearchResults(): The function will either flatten and sort the resultant options, or return sorted option groups + options as per the booleanflattenset in function parameter. - [Refactor.] Change in option
name,descriptionandvalueaccess specifiers: Use the getters for their fields respectively. - [Feat.]
renderTooltipIfHovered(): Function was overloaded and now waits for a specified delay before displaying the tooltip. - [Feat.]
valudIdin WidgetBuilder: For widgets usingDynamicValueWidget, the fieldsregistryKeyandregistryIdhave been replaced withIdentifier valueId
The Wiki has also been updated.
Full Changelog: v4.1.0...v5.0.0