Changelog
Additions
- Added
ValidatedString.fromList()
for easy construction of a ValidatedString from a known list of options or a supplier of potential options. - Added new Entry interface
EntrySuggester
which has the SAMgetSuggestions
. - Added
AllowableStrings
utility, much likeAllowableIdentifiers
. ImplementsEntryChecker
and the newEntrySuggester
. - ValidatedString now utilizes
SuggestionBackedTextFieldWidget
if an AllowableStrings is passed as itsEntryChecker
. Using the newfromList()
automatically does this. - Added
ValidatedIdentifier.ofSuppliedList()
to construct validation with lists that aren't tags/registries but may not be fully known at validation time.
Changes
AllowableIdentifiers
now implementsEntryValidator
and the newEntrySuggester
.
Fixes
- None.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
BetaVersion number
0.2.6+1.20.1Loaders
FabricQuilt
Game versions
1.20.1Downloads
98Publication date
April 24, 2024 at 10:43 PMPublisher
fzzyhmstrs
Member