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.
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
Declarative configuration
Settings are declared as annotated fields, and the library builds the config from those declarations.
Automatic Mod Menu registration
A mod using the library gets a Mod Menu entry for its settings without writing registration code.
Translation-driven descriptions
Descriptions and comments are read from translation keys, so option text follows the language in use.
Annotation-driven constraints
Annotations set limits on values, so out-of-range settings are rejected by the configuration system.
JSON5 config files
Configuration is saved as JSON5, a format that supports comments and trailing commas for hand editing.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 2
Embedded 1
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?
Which game versions does Bento Config support?
Is Mod Menu required to use the settings screen?
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
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.
Official listing
- Modrinth page
- modrinth.com/mod/bento-config
- Owner
- Chai
- Published
- 2026-03-21
- Updated on Modrinth
- 2026-03-30
- Facts verified
- 2026-10-15
