Fzzy Config

Fzzy Config

Mod

Config API with automatic GUIs, powerful validation options, server-client sync, and more!

Client and server Game MechanicsLibraryManagementUtility

1.33M downloads
258 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

fzzy_config-0.6.3+1.20.1

Changelog

Reminder of breaking changes in 0.6.x

  • ValidatedEntityAttribute is removed
  • Custom[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 to ValidatedChoice, 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 in ValidatedList, ValidatedSet, and ValidatedChoice for creation of choice lists from the backing validation.
  • Added testVersion method to PlatformApi for platform-agnostic testing of MC or mod version
  • CustomButtonWidget now accepts an activeSupplier to dynamically update active state, and a messageSupplier to dynamically update the button label. See the builder for details.

Changes

  • @Validated[Number].Restrict annotations now accept an optional ValidatedNumber.WidgetType with the new third param type
  • Reimplemented all instances of ActiveButtonWidget as built or extended-from CustomButtonWidget, and ActiveButtonWidget is now deprecated.
  • Reimplemented all instances of TextlessActionWidget as built CustomButtonWidget, 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

Files

fzzy_config-0.6.3+1.20.1.jar(1.81 MiB) Primary Download
fzzy_config-0.6.3+1.20.1-sources.jar(552.8 KiB) Download

Project members

fzzyhmstrs

Member

Details

Licensed TDL M
Published 9 months ago
Updated 3 days ago