Config Object Entries

Config objects are similar to a config but instead of everything having to be static these classes are instances and all fields are instance fields instead of static. These are useful if you have the same data but for different parts ie. 3 items that have the same config values but need to be separated.

Config objects must be annotated with the @ConfigObject annotation to signify that the object can be used for a object entry. Unlike categories and configs ConfigObjects can only contain entries, no buttons, or categories are allowed on objects, additionally they have 1 restriction and that is that they cannot contain entries for other Config Objects.

Last updated