Wiki 9Minecraft Auto Config Updated API Mod Wiki

Auto Config Updated API Mod — Reference

Core Mechanics

The mod operates on a "Data-First" philosophy. Instead of manually coding every button and slider in a GUI, developers define the variables they need (booleans, integers, strings, etc.) and the API handles the rest.

Key Features

  • Annotation-Driven: Use simple tags like @Config and @ConfigEntry to define behavior.
  • Automatic GUI Generation: Seamlessly creates Cloth Config screens without manual layout code.
  • Multi-Format Support: Supports Jankson (JSON5), GSON (JSON), and TOML for configuration storage.
  • Validation System: Includes hooks to correct or validate user input after the config is loaded.
  • Partitioning: Ability to split large configuration files into multiple smaller files automatically.