Reminder of breaking changes in 0.6.x
ValidatedEntityAttribute
is removedCustom[Widgets]
are moved from the internal widget package to the custom package- Several widgets and other classes have been deleted
PopupWidget
has many deprecations, and probably at least one breaking change despite my best efforts- As of 0.6.3,
ActiveButtonWidget
is unused and deprecated, marked for removal by 0.7.0 - As of 0.6.3,
TextlessActionWidget
is unused and deprecated, marked for removal by 0.7.0 - Possibly more, I didn't take great notes
Registrar is still marked experimental with anticipated stability by 0.7.0
As of 0.6.0, 1.20.4 and 1.20.6 will no longer be receiving active updates.
Additions
- New
TextureProvider
interface for generic provision of textures based on active/hovered state. Single
andQuad
variants ofTextureSet
added for sets with one texture regardless of state, and sets with all four textures different, respectively.
Changes
TextureSet
now implements theTextureProvider
interfaceCustomPressableWidget
and thereforeCustomButtonWidget
now useTextureProvider
instead of directlyTextureSet
in their implementations.textureSet
method ofSpriteDecorated
is now deprecated and defaulted, with a scheduled removal of 0.7.0.SpriteDecoration
andSmallSpriteDecoration
constructors withTextureSet
are likewise deprecated, with new overloads takingTextureProvider
- The texture sets in
TextureIds
are now explicitly typed asTextureProvider
instead. - Improved the lazy-loading and/or reduced duplicate loading of certain elements in lists and screens. This effort will expand in the future to further FCs goal of only ever loading a resource upon it being needed.
ValidatedChoiceList
now shows highlights around "unselected" options to better indicate that they are still active button elements.
Fixes
- Fixed
ValidatedChoiceList
popup widgets being too narrow for the popup with very short choice titles. - Remove stray dev-environment logging from
LayoutWidget
Reminder of breaking changes in 0.6.x
ValidatedEntityAttribute
is removedCustom[Widgets]
are moved from the internal widget package to the custom package- Several widgets and other classes have been deleted
PopupWidget
has many deprecations, and probably at least one breaking change despite my best efforts- As of 0.6.3,
ActiveButtonWidget
is unused and deprecated, marked for removal by 0.7.0 - As of 0.6.3,
TextlessActionWidget
is unused and deprecated, marked for removal by 0.7.0 - Possibly more, I didn't take great notes
Registrar is still marked experimental with anticipated stability by 0.7.0
As of 0.6.0, 1.20.4 and 1.20.6 will no longer be receiving active updates.
Additions
- new validation
ValidatedChoiceList
. Similar toValidatedChoice
, but the list version allows for enabling/disabling of none to all of the possible options while the Choice is one and always one of the choices from the options.- New
toChoiceSet
helper method inValidatedList
,ValidatedSet
, andValidatedChoice
for creation of choice lists from the backing validation.
- New
- Added
testVersion
method toPlatformApi
for platform-agnostic testing of MC or mod version CustomButtonWidget
now accepts anactiveSupplier
to dynamically update active state, and amessageSupplier
to dynamically update the button label. See the builder for details.
Changes
@Validated[Number].Restrict
annotations now accept an optionalValidatedNumber.WidgetType
with the new third paramtype
- Reimplemented all instances of
ActiveButtonWidget
as built or extended-fromCustomButtonWidget
, and ActiveButtonWidget is now deprecated. - Reimplemented all instances of
TextlessActionWidget
as builtCustomButtonWidget
, and TextlessActionWidget is now deprecated.
Fixes
- Fixed suggestion windows not being properly linked up in the config screen.
- Several popups, widgets, and so on have better layout and positioning; fixed several weird overlap and underlap issues among other things.
- Top and bottom of scrollable lists now position better.
- Fixed searching leading to entries "hiding" above the top of the viewport, needing you to scroll up to find them despite not having a scroll bar potentially
- Group collapsing now properly positions the bottom of the setting list at the bottom of the list viewport when applicable
Reminder of breaking changes in 0.6.x
ValidatedEntityAttribute
is removedCustom[Widgets]
are moved from the internal widget package to the custom package- Several widgets and other classes have been deleted
PopupWidget
has many deprecations, and probably at least one breaking change despite my best efforts- Possibly more, I didn't take great notes
Registrar is still marked experimental with anticipated stability by 0.7.0
As of 0.6.0, 1.20.4 and 1.20.6 will no longer be receiving active updates.
Additions
- None.
Changes
Registrar
and it's implementations now expectSupplier<? extends T>
instead ofSupplier<T>
Fixes
- None.