Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed LGPL-3.0-or-later
Published 2 years ago
Updated 3 weeks ago
Changelog
YetAnotherConfigLib 3.2.1 for 1.20.1-0
Changes
Config API
- Added
ConfigClassHandler#save
andConfigClassHandler#load
and deprecatedConfigClassHandler#serializer
.- The serializer should now never be called directly.
- New load method tells serializer to load into a new instance of the config class. Only applied if the load was fully successful.
- Deprecated
ConfigSerializer#load
forConfigSerializer#loadSafely
.
- Added new parameter on
SerialEntry
, calledrequired
.- If set to true, and the entry is not found in the config, the config will be re-saved with the default value.
- If set to false, and the entry is not found in the config, the default value will be used, but the config will not be re-saved.
- Added new parameter on
SerialEntry
, callednullable
.- If set to false, and the entry is found in the config, but the value is null, the default value will be used, and the config will be re-saved.
Bug Fixes
- Fixed error when using the same image twice.
- Removed debug log from WEBP and GIF image loaders.
Files
Metadata
Release channel
ReleaseVersion number
3.2.1+1.20-forgeLoaders
Game versions
1.20–1.20.1Downloads
45329Publication date
September 28, 2023 at 3:30 PMPublisher
isxander
Owner