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.1+forge

  • R
  • Oct 26, 2024
  • 1.44 MB
  • 154.0K
  • 1.20.1
  • Forge + 1

File Name

fzzy_config-0.5.6+1.20.1+forge.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:fzzy-config-1005914:5848760")

NeoForge

implementation fg.deobf("curse.maven:fzzy-config-1005914:5848760")
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