Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Fzzy Config

Fzzy Config

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

4.61M
530
Game Mechanics
Library

Compatibility

Minecraft: Java Edition

24w34a
1.21.x
1.20.4–1.20.6
1.20.1

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server
Donate on Ko-fi

Creators

fzzyhmstrs
fzzyhmstrs Member

Details

Licensed TDL M
Published last year
Updated last month
DescriptionGalleryChangelogVersions
All versionsfzzy_config-0.5.0+1.21

fzzy_config-0.5.0+1.21

Download
Report

Changelog

Additions

  • Added ValidatedField mapping. Validation can be mapped to validation of any other convertible type with the new map methods.
    • New helper class ValidatedRegistryType maps ValidatedIdentifier to registry objects, allowing for easy direct implmentation of setting based on registry objects (Items, Blocks, etc) without having to later map the identifiers yourself.
  • ValidatedField now has a helper codec method for generating a Codec of the underlying type.
  • ValidatedField now has a listener system that triggers on any set of the field. This listener is a Consumer<ValidatedField<T>> and is added with withListener
  • Added EventApi and corresponding direct implementations in the Config class
    • like other sub-apis, access this Api through the ConfigApi
    • onSyncClient - fires when a config is synced to a client
    • onUpdateClient - fires when a config is updated in-game on the client side
    • onUpdateServer - fires when a config is updated in-game on the server side
  • Added ConfigAction, which can be used to add arbitrary on-click buttons in the Config GUI. Use them to link to your wiki, open a patchouli guide book, give the player an item, etc.
  • Added extremely basic PlatformApi for simple cross-loader tasks like checking if the game state is client-sided or not.

Changes

  • Specialized widgets no longer internally extend PressableWidget or ButtonWidget, which was causing issues with Visual Overhaul or any other mod that leaks the constructor of the widget. It is recommended to use the Custom variants of those classes for any custom validation implementation.

Fixes

  • ValidatedIdentifier can now bind to dynamic registries using the ofRegistryKey initializer methods.
  • Fix syncing on login not working.
  • Fixed updates on client-only configs sometimes blasting the log with the full config contents.

Dependencies

dependency-iconFabric Language Kotlinrequired
dependency-iconFabric APIrequired

Files

fzzy_config-0.5.0+1.21.jar(1.35 MiB) Primary
Download
fzzy_config-0.5.0+1.21-sources.jar(369.7 KiB)
Download

Metadata

Release channel

Beta

Version number

0.5.0+1.21

Loaders

Fabric Quilt

Game versions

1.21–1.21.1

Downloads

9930

Publication date

September 25, 2024 at 10:16 PM

Publisher

fzzyhmstrs

fzzyhmstrs

Member

Version ID

Modrinth is open source.

main@4bafae8

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.