Fzzy Config

Fzzy Config

Mod

Config API with automatic GUIs, powerful validation options, server-client sync, and more!

Client and server Game MechanicsLibraryManagementUtility

637.9k downloads
158 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

Additions

  • Added a flag system EntryFlag to ValidatedField and ConfigAction. Currently only has one flag REQUIRES_WORLD. A field marked with REQUIRES_WORLD marks that the player needs to be in-game for the setting to work properly. The config screen will show Not in Game instead of the setting, when not in game.
  • Added ofDynamicKey builder methods to ValidatedIdentifier. Use of ofRegistryKey for non-synced dynamic registries (Loot registries, or modded dynamic registries that don't sync, primarily) is now deprecated and will log a warning. ofDynamicKey handles synchronization of predicated registry lists more robustly.
  • Added zh_tw translations

Changes

  • ValidatedIdentifier now automatically applies REQUIRES_WORLD to validation for dynamic registries, which require the world to be loaded. They will now not be available out of game.
    • Validation wrappers (lists, ValidatedCondition, etc.) will inherit their delegates flags automatically
  • ConfigActions based on ClickAction.RUN_COMMAND or ClickAction.SUGGEST_COMMAND now automatically apply REQUIRES_WORLD

Fixes

  • ValidatedIdentifier without validation no longer tries to "force" you to use the minecraft namespace in the text box
  • Enums revert to their proper default when automatically validated (plain field in the config)
  • Config actions now respect permissions

Additions

  • None.

Changes

  • None.

Fixes

  • make fmj suitable for 1.21.2 and 1.21.3...

Additions

  • None.

Changes

  • None.

Fixes

  • make fmj suitable for 1.21.2

Additions

  • None.

Changes

  • None.

Fixes

  • Make mods.toml suitable for 1.21.2

Additions

  • None.

Changes

  • None.

Fixes

  • ValidatedIdentifier.ofRegistryKey now works properly with the three types of tables that apparently aren't in the normal dynamic registry manager (loot, functions, predicates)
  • ValidatedMaps have better popup error reporting
  • Error catching overall improved
  • Fixed class-level @Translation negation not being respected
  • ValidatedAny recognizes and prioritizes Translatable entries like normal config settings do

Additions

  • None.

Changes

  • None.

Fixes

  • Utilize a version-agnostic approach to the DataSync event that should avoid issues with loader version being too-old/new.

Project members

fzzyhmstrs

Member

Details

Licensed TDL M
Published 7 months ago
Updated 15 days ago