Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

YetAnotherConfigLib 3.4.0 for MC 1.20.1

Changelog

YetAnotherConfigLib 3.4.0

This build supports the following versions:

  • Fabric 1.20.1
  • Fabric 1.20.4
  • Fabric 1.20.5
  • Forge 1.20.1
  • NeoForge 1.20.4

For developers...

This is the first build which uses a new build toolchain to support multiple minecraft versions in the same codebase. With this change, the artifact of the mod has changed.

modImplementation "dev.isxander:yet-another-config-lib:{modversion}+{mcversion}-{loader}"
// for example...
modImplementation "dev.isxander:yet-another-config-lib:3.4.0+1.20.1-fabric"

If you are using YACL in an architectury project (one with a common subproject), you will from now on depend on the fabric version of YACL. There is no longer any common artifact. I don't believe there to be any issues with doing it like this.

Additions

  • New colour picker widget by Superkat32
    • This works with existing colour options.

Colour picker example

  • Added a custom tab API so categories can provide their own GUI, instead of YACL options.
    • Mod developers can make their category class implement CustomTabProvider. Javadoc is available.
  • Add a new Kotlin DSL for creating your YACL UIs. This is a wrapper on top of the java builder interface providing extra functionality for Kotlin users.
    • YACL does not provide any kotlin libraries, nor does it depend on them. If you would like to use this DSL, make sure your own mod depends on your loader's Kotlin mod.
    • This is included in the main artifact. You don't need additional dependencies.
    • An example usage can be found in the testmod
  • Improved the backend of dropdown controllers by Crendgrim

Bug Fixes

  • Fix GIFs not being preloaded in the resource reloader

Dependencies

Files

YetAnotherConfigLib-3.4.0+1.20.1-fabric.jar(904.96 KiB) Primary Download

External resources



Project members

isxander

Owner


Technical information

License
LGPL-3.0-or-later
Client side
required
Server side
unsupported
Project ID