Package net.ixdarklord.coolcatcore.api.config.annotation
package net.ixdarklord.coolcatcore.api.config.annotation
-
ClassDescriptionAnnotations describing the fields of a
ConfigObject's class.Keys the entry had before.Anintfield holding a color.Comment lines above the entry in the file; on the class, the file's header.Greys the entry out while a boolean entry is off: its dotted path from the root ("rendering.enabled"), declared before this one.Left out of the config screen.The key in the file, instead of the field's name.In a startup config, each side keeps its own value; seelocalOnly()on the entry builders.Text (or a string list's elements) limited in length.Text (or a string list's elements) matching a regular expression.The range of a number, or of a number list's elements.Kept on the server in a synced config; seeserverOnly()on the entry builders.A list's size bounds.Shows a ranged number as a slider.A translation key for the entry's name.In a startup config, clients use the server's value while connected; seeuseServerValue().ConfigObject<T>A config declared as a plain class: every non-static, non-transient field becomes an entry, with the field's initial value as its default, and nested objects become groups.