Releases: xpple/BetterConfig
Releases · xpple/BetterConfig
Release 2.6.0
Release 2.5.1
- Updated to 1.21.11.
Release 2.5.0
- Added the ability to reload the config at runtime through the API (
ModConfig#reload).
Release 2.4.0
- Changed the type of comments from
Strings toComponents. The value ofConfig#commentis now the name of a method that provides the comment. For example:- @Config(comment = "This is a comment!") - public static Object exampleComment = null; + @Config(comment = "exampleCommentMethod") + public static Object exampleComment = null; + private static Component exampleCommentMethod() { + return Component.literal("This is a comment!"); + }
- Added two API methods:
ModConfig#getDefaultandModConfig#getComment. - Updated to Minecraft 1.21.6.
Release 2.3.1
- Replaced
modRuntimeOnlywithmodLocalRuntimein Fabric Gradle build script
Release 2.3.0
- Greatly improved documentation of
Configclass
Release 2.2.0
- Update JavaDoc to clarify that resetting a config does not use the setter
- Allow for custom chat representations of config values (#16)
Release 2.1.3
- Fixed a mixin bug causing a crash with some mods
Release 2.1.2
- Added the sources JAR to the publication
Release 2.1.1
- Fixed a bug with
ModConfig#resetTemporaryConfigsthat could cause a bug when a config is bothtemporaryandreadOnly