Home›Java›Mods›Bento Config
Bento Config
ModsJava

Bento Config

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by Chai · on Modrinth

⬇ Download on Modrinth
Bento Config — screenshot 1Bento Config — screenshot 2

Bento Config

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.

Features:

Bento Config is documented in-code with JavaDocs and on my wiki.

Bento Config — Minecraft Java mod, screenshot 1

public class MyConfig extends BentoConfig<MyConfig> {
    public boolean spawn_creepers = true;
    @Regex("[a-z]{1,10}")
    public String creeper_name = "creeper";
    @Header("spawn_settings")
    @Range(min = 1, max = 10)
    public int spawn_amount = 3;
    @Percentage
    public float spawn_chance = 0.5f;
    @Header("loot_settings")
    public Item creeper_loot = Items.GUNPOWDER;
}
public class MyModInitializer implements ModInitializer {
   ...
   public static final MyConfig CONFIG = new MyConfig.register("my_mod_id");
   ...
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more