Additions
- New experimental Result Provider api; providing a framework for reflectively accessing any config value via string scopes
- Create result providers for any configurable type, providers soft fail to fallbacks given during creation
- Results are dynamically updated as the config changes, no need for relogging, reloading, etc.
- Built in argument handling system for performing actions on the scope requested - check the size of a list, check if a list contains a value, scale a result, anything you can dream up.
- Check the wiki article for an example use case.
Changes
- None.
Fixes
- Restart screen now properly shows when a restart-causing change is received.
- Pressing tab on suggestions now properly tabs the result into the setting text field instead of changing focus to the next widget (done button etc.)
ValidatedIdentifier.ofRegistryKey
now takes? extends Registry
like the other helper method types, instead of justRegistry
.
Additions
- New experimental Result Provider api; providing a framework for reflectively accessing any config value via string scopes
- Create result providers for any configurable type, providers soft fail to fallbacks given during creation
- Results are dynamically updated as the config changes, no need for relogging, reloading, etc.
- Built in argument handling system for performing actions on the scope requested - check the size of a list, check if a list contains a value, scale a result, anything you can dream up.
- Check the wiki article for an example use case.
Changes
- None.
Fixes
- Restart screen now properly shows when a restart-causing change is received.
- Pressing tab on suggestions now properly tabs the result into the setting text field instead of changing focus to the next widget (done button etc.)
ValidatedIdentifier.ofRegistryKey
now takes? extends Registry
like the other helper method types, instead of justRegistry
.- Fixed 1.20.1 forge c2s networking being broken.
Additions
- Search field now has a tooltip and shows "Search" when the search query is empty
- Search also now has several modes, described in the tooltip. Search setting descriptions, negate searches, and more.
Changes
ValidatedEnum
popups now center the enum buttons on popups with very long enum names- Many internal refactors to further move away from referencing version specific MC code outside util classes
- Further implement Custom widgets and remove more vanilla widget references
Fixes
- Fixed number widgets sometimes freezing if their allowable range was low (<1.0)
- Fixed integer type slider left/right button incrementing on ranges <10 min to max
- Fixed search bar and done button moving strangely on resize
- Fixed setting entry tooltips appearing for entries "tucked" under the header or footer when hovered over
Additions
- Port to 24w40a
- Added a decimal format to
ValidatedFloat
andDouble
; the values within will now be formatted like#.##
, instead of showing the entire fractional part. - Added exception if a
ValidatedNumber
is provided with a min >= max. - Added
Item
,Block
,EntityType
, andFluid
as types that can be automatically wrapped with validation without having to specify it yourself.
Changes
- Using
@Translation
at the config-level will add the option to use the prefix itself as a lang key for the config title.
Fixes
- Fixed tooltip alert for the
RELOAD_RESOURCES
action on config-level alerts - Fixed
@Translation
not working for config sections - Inherited config classes fully work again
- Fixed mapped values not instancing themselves properly; which was breaking mapped lists, maps, and other collection views in the GUI.
- Restore config ordering from alphabetical to declared-order in the TOML outputs. Superclasses will appear after the direct class fields.