90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
Reminder of breaking changes in 0.6.x
ValidatedEntityAttribute
is removedCustom[Widgets]
are moved from the internal widget package to the custom package- Several widgets and other classes have been deleted
PopupWidget
has many deprecations, and probably at least one breaking change despite my best efforts- As of 0.6.3,
ActiveButtonWidget
is unused and deprecated, marked for removal by 0.7.0 - As of 0.6.3,
TextlessActionWidget
is unused and deprecated, marked for removal by 0.7.0 - Possibly more, I didn't take great notes
Registrar is still marked experimental with anticipated stability by 0.7.0
As of 0.6.0, 1.20.4 and 1.20.6 will no longer be receiving active updates.
Additions
- new validation
ValidatedChoiceList
. Similar toValidatedChoice
, but the list version allows for enabling/disabling of none to all of the possible options while the Choice is one and always one of the choices from the options.- New
toChoiceSet
helper method inValidatedList
,ValidatedSet
, andValidatedChoice
for creation of choice lists from the backing validation.
- New
- Added
testVersion
method toPlatformApi
for platform-agnostic testing of MC or mod version CustomButtonWidget
now accepts anactiveSupplier
to dynamically update active state, and amessageSupplier
to dynamically update the button label. See the builder for details.
Changes
@Validated[Number].Restrict
annotations now accept an optionalValidatedNumber.WidgetType
with the new third paramtype
- Reimplemented all instances of
ActiveButtonWidget
as built or extended-fromCustomButtonWidget
, and ActiveButtonWidget is now deprecated. - Reimplemented all instances of
TextlessActionWidget
as builtCustomButtonWidget
, and TextlessActionWidget is now deprecated.
Fixes
- Fixed suggestion windows not being properly linked up in the config screen.
- Several popups, widgets, and so on have better layout and positioning; fixed several weird overlap and underlap issues among other things.
- Top and bottom of scrollable lists now position better.
- Fixed searching leading to entries "hiding" above the top of the viewport, needing you to scroll up to find them despite not having a scroll bar potentially
- Group collapsing now properly positions the bottom of the setting list at the bottom of the list viewport when applicable