Additions
- Port to NeoForge! This is an initial port, please notify me of any problems you run into in my issue tracker or discord
- Added
@WithCustomPerms
and@AdminLevel
for definition of user permissions using LuckPerms/Forge Permissions API "Node" style permissions- Added new update quarantine. If an update is suspect, Fzzy Config will quarantine it instead of applying it or outright deleting it. Admins will be notified and have the opportunity to inspect it with a new
/configure_update
command, accepting or denying the update as needed.
- Added new update quarantine. If an update is suspect, Fzzy Config will quarantine it instead of applying it or outright deleting it. Admins will be notified and have the opportunity to inspect it with a new
- Added new
@RequiresAction
annotation that supplants the functionality of the now-deprecated RequiresRestart- RESTART - same functionality from RequiresRestart
- RELOG - prompts the user to disconnect and reconnect from the world or server
- RELOAD_BOTH - prompts a reload of both datapacks and resource packs
- RELOAD_DATA - prompts a reload of datapacks
- RELOAD_RESOURCES - prompts a reload of resource packs
- New icons for the new Actions alert system that will appear on the left side of the config, replacing the one "!" symbol
- Added
ValidatedString#fromValues
for creation of a Validated string with a vararg set of allowable strings, no list wrapper needed.
Changes
- Deprecated
@RequiresRestart
- Permission checks are better at ignoring single player games.
- Tooltips for required actions are now presented when hovering over the icons themselves, rather than as a header in the main setting tooltip. The tooltip when using keyboard navigation now appends action alerts after the setting description, not before, to avoid having to sit through a bunch of alerts before learning what the setting even does.
- Internally refactored all fabric-related code into common access points.
- If a setting forward fails, Fzzy Config now alerts the sender of the problem.
- Removed environment annotations. Modders pay attention to your source sets! This is to facilitate multiloader more effectively.
- Updated or tweaked KDoc in many places
Fixes
ValidatedChoice
now properly updates its tooltip after each selection change.- Added
ConfigApiJava
into the most recent versions. - Added missing widget and translationProvider optional parameters in
ValidatedSet#toChoices
Additions
- Port to (Neo)Forge! This is an initial port, please notify me of any problems you run into in my issue tracker or discord
- Added
@WithCustomPerms
and@AdminLevel
for definition of user permissions using LuckPerms/Forge Permissions API "Node" style permissions- Added new update quarantine. If an update is suspect, Fzzy Config will quarantine it instead of applying it or outright deleting it. Admins will be notified and have the opportunity to inspect it with a new
/configure_update
command, accepting or denying the update as needed.
- Added new update quarantine. If an update is suspect, Fzzy Config will quarantine it instead of applying it or outright deleting it. Admins will be notified and have the opportunity to inspect it with a new
- Added new
@RequiresAction
annotation that supplants the functionality of the now-deprecated RequiresRestart- RESTART - same functionality from RequiresRestart
- RELOG - prompts the user to disconnect and reconnect from the world or server
- RELOAD_BOTH - prompts a reload of both datapacks and resource packs
- RELOAD_DATA - prompts a reload of datapacks
- RELOAD_RESOURCES - prompts a reload of resource packs
- New icons for the new Actions alert system that will appear on the left side of the config, replacing the one "!" symbol
- Added
ValidatedString#fromValues
for creation of a Validated string with a vararg set of allowable strings, no list wrapper needed.
Changes
- Deprecated
@RequiresRestart
- Permission checks are better at ignoring single player games.
- Tooltips for required actions are now presented when hovering over the icons themselves, rather than as a header in the main setting tooltip. The tooltip when using keyboard navigation now appends action alerts after the setting description, not before, to avoid having to sit through a bunch of alerts before learning what the setting even does.
- Internally refactored all fabric-related code into common access points.
- If a setting forward fails, Fzzy Config now alerts the sender of the problem.
- Removed environment annotations. Modders pay attention to your source sets! This is to facilitate multiloader more effectively.
- Updated or tweaked KDoc in many places
Fixes
ValidatedChoice
now properly updates its tooltip after each selection change.- Added
ConfigApiJava
into the most recent versions. - Added missing widget and translationProvider optional parameters in
ValidatedSet#toChoices
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
- 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)