Breaking changes in 0.7.x
ValidatedEnumMap
is removed- Removed all methods and properties marked as Deprecated and for removal 0.7.0
SmallSpriteDecoration#<init>
SpriteDecorated#textureSet
&textures
is now a required overrideSpriteDecoration#<init>
CustomButtonWidget#<init>
& builder is now only non-override method for adding custom button- Removed
ActiveButtonWidget
- Removed
TextlessActionWidget
DynamicListWidget.EntryPos
and implementations madeinternal
PopupWidget
position elements;LayoutWidget
no longer inherits from the PopupWidget variant- Removed deprecated overrides of
PopupController
fromPopupParentElement
SuggestionWindowListener
andSuggestionWindowProvider
moved out ofinternal
sub-package- Removed
ImmutableRelPos
RenderUtil#renderBlur
- Throughout FzzyConfig
Translatable.Result
has been replaced withTranslatable.ResultProvider
. This affectsEntrySearcher
as well asSearcher.SearchContent
Additions
- Added new
CustomWidget
interface. This will be used for abstracting all FC widgets away from directly interacting withElement
,Widget
, etc. to reduce porting headache going forward. Updates related to CustomWidget will be sprinkled into the next versions. - New
CustomTextWidget
utilizing said CustomWidget interface. - Added
syncConfig
method to theNetworkApi
for manually syncing a server-side config to clients. - Added uk_ua translation
Changes
CustomMultilineTextWidget
now has an align-right methodRelevant
has gained three new methods for modifier checks,needsCtrl
,needsShift
,needsAlt
PopupWidget
's wrappedLayoutWidget
now contributes to re-sizing the popup based on the dimensions it would like.
Fixes
- Validated Collections now resolve their contents lazily on serialize, allowing for proper implementation of mapped registry objects (items, blocks, etc.) in loaders that defer their registration.
ConfigGroup
now acts properly with nestedcollapsedByDefault
ConfigApi.buildTranslations
can now "see" inside objects that may be wrapping a translated object (such asValidatedAny
)- Configs packet size limit increased to avoid problems with serializing large configs.
- (1.21.9) fixed keybinds showing as "Button 70" etc.
ValidationResult.reportTo
no longer reports an error context has header information only.
Dependency has been changed to KotlinLangForge temporarily. I intend to revert back if KFF is updated. Or maybe I'll just package the kotlin libs myself, I'm getting tired of Forge kotlin libs.
Breaking changes in 0.7.x
ValidatedEnumMap
is removed- Removed all methods and properties marked as Deprecated and for removal 0.7.0
SmallSpriteDecoration#<init>
SpriteDecorated#textureSet
&textures
is now a required overrideSpriteDecoration#<init>
CustomButtonWidget#<init>
& builder is now only non-override method for adding custom button- Removed
ActiveButtonWidget
- Removed
TextlessActionWidget
DynamicListWidget.EntryPos
and implementations madeinternal
PopupWidget
position elements;LayoutWidget
no longer inherits from the PopupWidget variant- Removed deprecated overrides of
PopupController
fromPopupParentElement
SuggestionWindowListener
andSuggestionWindowProvider
moved out ofinternal
sub-package- Removed
ImmutableRelPos
RenderUtil#renderBlur
- Throughout FzzyConfig
Translatable.Result
has been replaced withTranslatable.ResultProvider
. This affectsEntrySearcher
as well asSearcher.SearchContent
Additions
ValidatedColor
has a new presets feature. These presets will be displayed in a "sub-pane" to the right of the main color popup.- There are pre-defined presets based on MC color enums, or you can define your own presets using
ValidatedColor#withColorPresets
- There are pre-defined presets based on MC color enums, or you can define your own presets using
- New
ValidatedNumber#setFormat
extension function lets you define a customDecimalFormat
for your number settings - PopupWidgets can now have "child" layouts that appear as sub-panes either to the right or below the main popup.
- Create a child layout with a pair of
pushChildLayout
andpopChildLayout
in the Builder. - This child layout can have completely different spacing, padding, and so on.
- All the elements added to this child will be navigable alongside the main popup.
- Create a child layout with a pair of
Changes
- Configs marked with
SaveType.SEPARATE
can now be opened out of the world (if it's entries can be) without caring about permissions checking, because the clients version will be considered separately anyway - Deprecated the constructor of
LayoutWidget
in favor of a builder pattern. Migrate any custom LayoutWidget impls asap; removal scheduled for 0.8.0
Fixes
- (1.21.6+) the Changes widget now properly displays its number of changes
- (1.21.6+) popups properly blur the underlying screen content again
- Fixed
ValidatedCondition
not passing widget size changes to it's delegate widget
Note: Neoforge version will be out once Kotlin For Forge updates to 1.21.9
Breaking changes in 0.7.x
ValidatedEnumMap
is removed- Removed all methods and properties marked as Deprecated and for removal 0.7.0
SmallSpriteDecoration#<init>
SpriteDecorated#textureSet
&textures
is now a required overrideSpriteDecoration#<init>
CustomButtonWidget#<init>
& builder is now only non-override method for adding custom button- Removed
ActiveButtonWidget
- Removed
TextlessActionWidget
DynamicListWidget.EntryPos
and implementations madeinternal
PopupWidget
position elements;LayoutWidget
no longer inherits from the PopupWidget variant- Removed deprecated overrides of
PopupController
fromPopupParentElement
SuggestionWindowListener
andSuggestionWindowProvider
moved out ofinternal
sub-package- Removed
ImmutableRelPos
RenderUtil#renderBlur
- Throughout FzzyConfig
Translatable.Result
has been replaced withTranslatable.ResultProvider
. This affectsEntrySearcher
as well asSearcher.SearchContent
Additions
ValidatedColor
has a new presets feature. These presets will be displayed in a "sub-pane" to the right of the main color popup.- There are pre-defined presets based on MC color enums, or you can define your own presets using
ValidatedColor#withColorPresets
- There are pre-defined presets based on MC color enums, or you can define your own presets using
- New
ValidatedNumber#setFormat
extension function lets you define a customDecimalFormat
for your number settings - PopupWidgets can now have "child" layouts that appear as sub-panes either to the right or below the main popup.
- Create a child layout with a pair of
pushChildLayout
andpopChildLayout
in the Builder. - This child layout can have completely different spacing, padding, and so on.
- All the elements added to this child will be navigable alongside the main popup.
- Create a child layout with a pair of
Changes
- Configs marked with
SaveType.SEPARATE
can now be opened out of the world (if it's entries can be) without caring about permissions checking, because the clients version will be considered separately anyway - Deprecated the constructor of
LayoutWidget
in favor of a builder pattern. Migrate any custom LayoutWidget impls asap; removal scheduled for 0.8.0
Fixes
- (1.21.6+) the Changes widget now properly displays its number of changes
- (1.21.6+) popups properly blur the underlying screen content again
- Fixed
ValidatedCondition
not passing widget size changes to it's delegate widget