promotional bannermobile promotional banner

Fzzy Config

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

File Details

fzzy_config-0.5.6+1.20.6+neoforge

  • R
  • Oct 26, 2024
  • 1.43 MB
  • 61
  • 1.20.6+1
  • NeoForge

File Name

fzzy_config-0.5.6+1.20.6+neoforge.jar

Supported Versions

  • 1.20.6
  • 1.20.5

Curse Maven Snippet

NeoForge

implementation "curse.maven:fzzy-config-1005914:5848775"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

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