Compatibility
Minecraft: Java Edition
1.21
1.20–1.20.1
1.19.3–1.19.4
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed LGPL-3.0-or-later
Published last year
Updated 3 weeks ago
Changelog
This release introduces two new features and some bug fixes!
- Added the
onChange
config attribute (#10). You can now register a function that is called whenever a specific config is updated. For example:@Config(onChange = "onChange") public static List<String> exampleOnChange = new ArrayList<>(List.of("xpple, earthcomputer")); private static void onChange(List<String> oldValue, List<String> newValue) { LOGGER.info("exampleOnChange was updated | old: {}, new: {}", oldValue, newValue); }
- Added global change hook (#11). This allows you to register a global function that is called whenever any config is updated. For example:
new ModConfigBuilder<>("<mod id>", Configs.class) .registerGlobalChangeHook(event -> BetterConfigCommon.LOGGER.info("{} was updated | old: {}, new: {}", event.config(), event.oldValue(), event.newValue())) .build();
- Added Tatar translations (#8 by Amirhan-Taipovjan-Greatest-I)
Files
Metadata
Release channel
ReleaseVersion number
2.1.0Loaders
Game versions
1.21Downloads
25Publication date
September 13, 2024 at 4:53 PMPublisher
xpple
Owner