Wiki 9Minecraft Wiki 9Minecraft

Auto Config Updated API Annotations Reference

Java EditionModGuides 5FAQ 3Related mods 60
DownloadAuto Config Updated API Mod

Get the files on 9Minecraft

Annotations are the primary way to customize the appearance and behavior of the configuration GUI.

Annotation Target Description
@Config Class Defines the config file name (excluding extension).
@Config.Gui.Background Class Sets the background texture for the config screen.
@ConfigEntry.Category Field Moves the field into a specific top-level tab/category.
@ConfigEntry.BoundedDiscrete Field Renders an int/long as a slider with min/max bounds.
@ConfigEntry.Gui.Excluded Field Prevents the field from appearing in the GUI.
@ConfigEntry.Gui.Tooltip Field Adds a hoverable tooltip (defined in lang files).
@ConfigEntry.Gui.CollapsibleObject Field Places nested object fields inside a collapsible sub-menu.
@ConfigEntry.Gui.TransitiveObject Field Flattens a nested object, showing its fields at the current level.
@ConfigEntry.Gui.PrefixText Field Injects a static text label above the entry.
@Comment (Jankson) Field Adds a direct comment to the config file and a tooltip in-game.