YetAnotherConfigLib
  • Overview
  • Installing YACL
  • GUI Builder
    • Getting started
    • Controllers
    • Special Options
  • Config api
    • Basic usage of Config API
  • Archive
    • Home
    • Config API
Powered by GitBook
On this page
  • ❓What is it?
  • Why does it even exist?
  • How is YACL better?
  • ✅ When should I use it?
  • ⛔ When shouldn't I use it?

Was this helpful?

Overview

What YetAnotherConfigLib is, when you should use it, and when you shouldn't.

NextInstalling YACL

Last updated 9 months ago

Was this helpful?

This wiki is currently a work-in-progress and is incomplete!

Henceforth, YetAnotherConfigLib will be referred to as its acronym, YACL.

❓What is it?

Primarily, YACL is a config screen generator that helps developers create a user friendly GUI in Minecraft to allow users to configure their mods easily. YACL's functionality has also grew to also include an API to help developers save and load their config from a file.

Why does it even exist?

This mod was made to fill a hole in this area of FabricMC modding. The already-existing config libraries don't achieve what I, as the developer, want from them.

As you can see, there's sadly a drawback with every one of them. This is where YACL comes in!

How is YACL better?

YACL has the benefit of hindsight. It can see what everyone else has done, and combine the best parts to make this a great contender. Here are a few points that may convince you:

  • Minecraft styled: YACL is designed to fit right in vanilla Minecraft so it doesn't look out of place.

✅ When should I use it?

YACL is was designed with client mods in mind (mods that do not support loading on the server) so they can quickly produce a great UI for users, so these types of mods are recommended.

⛔ When shouldn't I use it?

On server only mods, depending on only YACL's config API is not recommended. This is because you are requiring the user to download YACL that will frequently update functionality never to be utilised by your mod, not to mention the waste of storage space.

is stale. The developer of cloth has clarified that they are likely not going to add any more features, they don't want to touch it. ()

isn't designed for configuration. In this essence, the design feels cluttered.

has cosmetics built-in. It may not be large in size, but players (including me) may not want bundled cosmetics.

contains a lot of other utilities. It isn't focused on config, however, is recommended if you are building a content mod.

Easy-to-use API: YACL takes inspiration from 's internal configuration library.

Additionally, mods that are required on both environments to function are also supported with its config API available, so the server so administrators can configure with a file, whilst the client can configure with a GUI. However, no server-client syncing functionality is available for use which may limit functionality of your mod. If you need server-client syncing, use .

Cloth Config
citation
Spruce UI
MidnightLib
OwO Lib
Sodium
OwO Lib
The best way to tell you what YACL is all about is with an image. A picture speaks a thousand words!
Screenshot of a YACL gui