Additions
- Port 0.3.7 to 1.20.4
Changes
- None.
Fixes
- None.
Additions
- Port to 24w34a
- Added
ConfigApiJava
which includes methods that may cause IDE issues if called by java code directly from ConfigApi. - Added
translate
helper method toValidatedChoice
for shortcutting common translation/description provider creation. - Added
min(a,b)
andmax(a,b)
toExpression
Changes
ValidatedExpression
widget now includes max and min, and the widget buttons have descriptive tooltips.
Fixes
- Serializer will now ignore a
@ConvertFrom
file candidate if it is missing (already converted, or never existed), rather than tossing an exception into the log.
Additions
- Added
ConfigApiJava
which includes methods that may cause IDE issues if called by java code directly from ConfigApi. - Added
translate
helper method toValidatedChoice
for shortcutting common translation/description provider creation. - Added
min(a,b)
andmax(a,b)
toExpression
Changes
ValidatedExpression
widget now includes max and min, and the widget buttons have descriptive tooltips.
Fixes
- Serializer will now ignore a
@ConvertFrom
file candidate if it is missing (already converted, or never existed), rather than tossing an exception into the log.
Additions
- None.
Changes
ValidatedChoice
now has the paramstranslationProvider
anddescriptionProvider
, 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.toChoices
now lets the user define translation and widget behavior.
Fixes
- Clean up code internally. No external change in behavior
Additions
- None.
Changes
- None.
Fixes
ValidatedEnum
cycling style widget crashing client with certain kotlin enums.
Additions
- Port to 1.21
- Added new (undocumented)
cast
andnullCast
extension functions for functional programming style of type casting. Ex: val thing: MyType2 =myType1.cast<MyType2>().withThing().doAnotherThing()
Changes
- Optimized
Expression
with pre-compiled shortcuts for many situations; optimized constant usage. - Expressions now have
hashcode
andequals
methods for direct comparison.
Fixes
- None.
Additions
- Added new (undocumented)
cast
andnullCast
extension functions for functional programming style of type casting. Ex: val thing: MyType2 =myType1.cast<MyType2>().withThing().doAnotherThing()
Changes
- Optimized
Expression
with pre-compiled shortcuts for many situations; optimized constant usage. - Expressions now have
hashcode
andequals
methods for direct comparison.
Fixes
- None.
Additions
- None.
Changes
- Updated the
ValidatedIngredient
interface to a new popup with two list editors, list viewers, and "Clear" buttons. - Added a
supplyTooltipOnOverflow
method toSuppliedTextWidget
that 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
ValidatedIngredient
now 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.