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. Deprecations scheduled for removal 0.7.0- 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
As of 0.6.0, 1.20.4 and 1.20.6 will no longer be receiving active updates.
Additions
- New
registerLenientS2C
andregisterLenientC2S
methods in theNetworkApi
. These methods will be propagated to all versions of Fzzy Config in 0.6.6, though in most versions will have no behavior difference compared toregisterS2C/C2S
Changes
- Internal Fzzy Config packet registrations now register leniently.
NetworkApi.canSend
now checks that one of it's registered methods can in fact send.
Fixes
- Fixed clients without Fzzy Config being prevented from joining a server with it. Obviously configs will not be synced in this circumstance, FC will simply pretend that client doesn't exist. Mods that can allow this behavior should of course also handle this circumstance.
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. Deprecations scheduled for removal 0.7.0- 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
As of 0.6.0, 1.20.4 and 1.20.6 will no longer be receiving active updates.
Additions
- None.
Changes
- None.
Fixes
- Fixed StackOverflow error when syncing configs on NeoForge 1.21.2+
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. Deprecations scheduled for removal 0.7.0- 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
As of 0.6.0, 1.20.4 and 1.20.6 will no longer be receiving active updates.
Additions
- Fzzy Config's wiki is now hosted with ModdedMC! Check it out:
- Added
WidgetEntry
for easy creation of Dynamic Lists wrapping a collection of widgets. - New widget type
SCROLLABLE
forValidatedChoiceList
andValidatedChoice
which opens a scrollable and searchable widget list ValidatedChoice
now includes theINLINE
widget type previously only available on the list versionValidatedChoiceList
now has its own decorator, distinguishing it from a normal list- Added new
TriState
utility enum and correspondingValidatedTriState
validation for configs. Like most tri-states, has TRUE, FALSE, and DEFAULT choices, and two different widget options for selecting between them. - Added a
FzzyKeybind
system that builds on theContextType
system introduced in 0.6.0.- Define basic or compound (multiple choice) keybinds with or without modifiers (ctrl, shift, alt)
ValidatedKeybind
validation added for configurable keybind handling.- Keybinds still need to be handled by other Fzzy Config context handling methods, this is a structured method for setting up and configuring context types.
- For a robust example, see Fzzy Configs built-in keybind config and
ConfigScreen
context handler that is used to handle GUI inputs.
- Added
wdithFunction
andheightFunction
toPopupWidget
, allowing for dynamic sizing based on screen and previous dimension context. - Fzzy Config finally has its own config!
keybinds.toml
controls the inputs used for interacting with Config GUIs.
Changes
- Registrar System:
RegistrySupplier
now implementsRegistryEntry
directly, as well as passing its reference entry. This includes a breaking experimental change,getKey
has changed togetRegistryKey
- Improved the narration of
ValidatedChoice
andValidatedChoiceList
- Improved the memory footprint of
DynamicListWidget
, deferring several allocations until needed - Shortened in-GUI changelogs related to Validated Object changes.
- In-GUI usage information popup updated with a list widget and configurable keybind entries.
- The Config GUI info screen has been updated with a list view of the GUI keybinds. These keybinds can be edited (and this list is secretly a custom config GUI for Fzzy Configs built-in Keybinds config)
ConfigScreenManager
now caches config GUI templates incrementally, instead of front-loading all screen templates at once. This has some side effects, namely that each screen now has a separate Update Manager, so restoring defaults, reverting changes, etc. is now sectioned off per-config instead of global to the namespace. The "Root" screen update manager can see any loaded children managers, so changes can be managed from the root screen into any child screens that have been loaded and modified.
Fixes
- Fixed done button on config screens saying "back" when they should say "done" in certain circumstances
- Fixed
ValidatedAny
popup saying "Revert Changes" for both the revert and restore defaults button - Certain validation types now properly determine their default- and changed-state, namely Validated Objects.
ValidatedCondition
now properly considers its conditions when determining default and changed states. A Validated Condition that has failed conditions will always be considered "default"- Fixed various typos and other content issues with some KDoc entries
ConfigScreenNarrator
now properly strips out formatting codes before narrating the text content (this also affects the vanilla screen narrator)- Fixed
ValidatedIdentifier
config widgets not being properly navigable with keyboard. - (NeoForge) fixed network crash involving clients without Fzzy Config trying to join a server with it.
- (1.20.1) fixed texture issue with the context and go-to menus.
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