ModsFinder

Bento Config

by Chai

Bento Config is a Fabric library for declaring mod configuration through annotations, with settings written to JSON5 files and Mod Menu screens generated automatically.

FabricClient or server, optionalGNU Lesser General Public License v3.0 onlyOpen source1.21 – 1.21.1

What it does

Developers describe a configuration as a declarative class: fields carry annotations that set their constraints, and the library reads them to build the config file. Descriptions and comments come from translation keys, so the text can follow the game's language files. The JSON5 format keeps the file readable and allows comments.

Images used in the configuration are sourced from the mod's assets folder automatically. Mod Menu registration is handled by the library, so a mod with Bento Config gets a settings screen without extra setup. Bento Config is built on Bento GUI, which renders the screens. Either side can run it, and neither needs it. The library is open source under the GNU Lesser General Public License v3.0 only, and Bento Util is bundled inside the mod. Code documentation and a wiki are available for developers.

Key features

  1. Declarative configuration

    Settings are declared as annotated fields, and the library builds the config from those declarations.

  2. Automatic Mod Menu registration

    A mod using the library gets a Mod Menu entry for its settings without writing registration code.

  3. Translation-driven descriptions

    Descriptions and comments are read from translation keys, so option text follows the language in use.

  4. Annotation-driven constraints

    Annotations set limits on values, so out-of-range settings are rejected by the configuration system.

  5. JSON5 config files

    Configuration is saved as JSON5, a format that supports comments and trailing commas for hand editing.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.10.1.0+1.21
1.210.1.0+1.21
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Optional 2

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional
Bento GUIThe expressive GUI library from Bento Box
Optional

Embedded 1

Bento UtilThe general utility library from Bento Box
Embedded

Use cases

Mod authors adding settings

A mod author declares settings as annotated fields instead of writing file parsing and menu code by hand.

Players editing config files

Players can open the JSON5 file in a text editor and change values, with comments explaining each option.

Who it’s for: Developers of Fabric mods who want a configuration system with a settings screen, and players who edit mod settings through files or Mod Menu.

Questions

Does Bento Config need Fabric API?

Yes. Fabric API is a required dependency, and the library runs only on the Fabric loader.

Which game versions does Bento Config support?

Files exist for 1.21 and 1.21.1. The latest Fabric file, 0.1.0+1.21 for 1.21.1, was published on 2026-03-30 on the beta channel.

Is Mod Menu required to use the settings screen?

Mod Menu is an optional dependency. Without it, the settings are still written to the JSON5 file.

In the catalog

Bento Config is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from Chai

All projects

Similar mods

What the author says

Bento Config is an annotation-driven configuration system built using Bento GUI. It aims to be simple yet powerful, with no magic pre-processors or arbitrary limitations. Bento Config is documented in-code with JavaDocs and on my wiki.
Chai, on the Modrinth page

Official listing

Owner
Chai
Published
2026-03-21
Updated on Modrinth
2026-03-30
Facts verified
2026-10-15

Tags