Additions
- Port to 24w34a
- Added
ConfigApiJavawhich includes methods that may cause IDE issues if called by java code directly from ConfigApi. - Added
translatehelper method toValidatedChoicefor shortcutting common translation/description provider creation. - Added
min(a,b)andmax(a,b)toExpression
Changes
ValidatedExpressionwidget now includes max and min, and the widget buttons have descriptive tooltips.
Fixes
- Serializer will now ignore a
@ConvertFromfile candidate if it is missing (already converted, or never existed), rather than tossing an exception into the log.
Additions
- Added
ConfigApiJavawhich includes methods that may cause IDE issues if called by java code directly from ConfigApi. - Added
translatehelper method toValidatedChoicefor shortcutting common translation/description provider creation. - Added
min(a,b)andmax(a,b)toExpression
Changes
ValidatedExpressionwidget now includes max and min, and the widget buttons have descriptive tooltips.
Fixes
- Serializer will now ignore a
@ConvertFromfile candidate if it is missing (already converted, or never existed), rather than tossing an exception into the log.
Additions
- None.
Changes
ValidatedChoicenow has the paramstranslationProvideranddescriptionProvider, BiFunctions that let you convert the choices base translation key and an instance of the choice into a Text instance. Useful for creating translations/Descriptions for strings or other choices that aren'tTranslatable.ValidatedList.toChoicesnow lets the user define translation and widget behavior.
Fixes
- Clean up code internally. No external change in behavior
Additions
- None.
Changes
- None.
Fixes
ValidatedEnumcycling style widget crashing client with certain kotlin enums.
Additions
- Port to 1.21
- Added new (undocumented)
castandnullCastextension functions for functional programming style of type casting. Ex: val thing: MyType2 =myType1.cast<MyType2>().withThing().doAnotherThing()
Changes
- Optimized
Expressionwith pre-compiled shortcuts for many situations; optimized constant usage. - Expressions now have
hashcodeandequalsmethods for direct comparison.
Fixes
- None.
Additions
- Added new (undocumented)
castandnullCastextension functions for functional programming style of type casting. Ex: val thing: MyType2 =myType1.cast<MyType2>().withThing().doAnotherThing()
Changes
- Optimized
Expressionwith pre-compiled shortcuts for many situations; optimized constant usage. - Expressions now have
hashcodeandequalsmethods for direct comparison.
Fixes
- None.
Additions
- None.
Changes
- Updated the
ValidatedIngredientinterface to a new popup with two list editors, list viewers, and "Clear" buttons. - Added a
supplyTooltipOnOverflowmethod toSuppliedTextWidgetthat allows for provision of a tooltip in case the text widget overflows and "trims" the input. This can be identical to the text supplier (can be the text supplier instance itself), or can be a separate supplier with, for example, newlines instead of commas separating text elements
Fixes
ValidatedIngredientnow supports both tags and item IDs, instead of just item ids. The constructor now acceptsSet<Object>, which can be composed of TagKeys and Identifiers (for tags and items, respectively)
Additions
- None.
Changes
- Port to 24w20a (1.21 snapshots).
Fixes
- None.
Additions
- Added
Supplieroverloads toConfigApito provide smoother interop with Java implementations, reducing the need for java mods to add fabric language kotlin to their compile class path. - Added custom
validateAndSetmethods toValidatedIngredientthat allow for direct updating via Identifier, Set, or Tag without having to make your own Ingredient Provider instance first.
Changes
- None.
Fixes
- None.


