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.78M
539
Game Mechanics
Library
AboutGalleryChangelogVersions
All versionsfzzy_config-0.5.9+1.21

fzzy_config-0.5.9+1.21

Download
Report

Changelog

Scheduled API removal in 0.6.0: ValidatedEntityAttribute. Reimplement usages of this class as needed.

Additions

  • New isDev method in PlatformApi for checking if the instance is running in a development environment.
  • Implemented a barebones Registrar system for platform-agnostic registration of objects. This API is experimental, with scheduled stability by 0.6.0.
    • Registers objects into RegistrySupplier instances, much like the (Neo)Forge deferred registry system.
  • Added onRegisteredClient and onRegisteredServer to the EventApi for listening to config registrations and only acting after the config has been successfully registered.
  • New version of ValidatedField.validateAndSet, validateAndSetFlagged that accepts EntryFlag.Flag (and inspects the field own flags) and changes set behavior based on flags present.
    • EntryFlag.Flag.QUIET: flagged field won't call listeners on change
    • EntryFlag.Flag.STRONG: field validateAndSet/validateAndSetFlagged will use strong validation. Weak validation is standard.
    • EntryFlag.Flag.UPDATE: field will update its current sync state when the value is set.
  • Added overload to ValidationResult.report that takes a string consumer directly for immediate reporting of issues.
  • New Codecs helper class in PortingUtils for handling version-agnostic Packet Codecs. Thanks Mojang.

Changes

  • ConfigApi.isConfigLoaded(scope) has been deprecated in favor of ConfigApi.isConfigLoaded(scope, type). This new overload can check for client configs; the now-deprecated method only checked synced ones.
    • Also consider the new register event instead of trying to check for config load yourself.
  • Scheduled ValidatedEntityAttribute for removal in 0.6.0. It is completely unused as far as I can tell with a github-wide search, and quite an unstable concept in general. If needed, a similar validation can be built for your own usage.

Fixes

  • Fixed inaccurate docs in ValidatedEntityAttribute.Builder and EntityAttributeInstanceHolder

Dependencies

dependency-iconFabric Language Kotlinrequired
dependency-iconFabric APIrequired

Files

fzzy_config-0.5.9+1.21.jar(1.47 MiB) Primary
Download
fzzy_config-0.5.9+1.21-sources.jar(413.88 KiB)
Download

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Metadata

Release channel

Release

Version number

0.5.9+1.21

Loaders

Fabric Quilt

Game versions

1.21–1.21.1

Downloads

36964

Publication date

December 7, 2024 at 12:55 AM

Publisher

fzzyhmstrs

fzzyhmstrs

Member

Version ID

Modrinth is open source.

main@599f23c

© 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.