Class ConfigEntry
java.lang.Object
net.ixdarklord.coolcatcore.api.config.annotation.ConfigEntry
Annotations describing the fields of a
ConfigObject's class. Every non-static, non-transient field is an
entry; these add what the field's type and initial value can't say.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceKeys the entry had before.static @interfaceAnintfield holding a color.static @interfaceComment lines above the entry in the file; on the class, the file's header.static @interfaceGreys the entry out while a boolean entry is off: its dotted path from the root ("rendering.enabled"), declared before this one.static @interfaceLeft out of the config screen.static @interfaceThe key in the file, instead of the field's name.static @interfaceIn a startup config, each side keeps its own value; seelocalOnly()on the entry builders.static @interfaceText (or a string list's elements) limited in length.static @interfaceText (or a string list's elements) matching a regular expression.static @interfaceThe range of a number, or of a number list's elements.static @interfacestatic @interfaceKept on the server in a synced config; seeserverOnly()on the entry builders.static @interfaceA list's size bounds.static @interfaceShows a ranged number as a slider.static @interfaceA translation key for the entry's name.static @interfaceIn a startup config, clients use the server's value while connected; seeuseServerValue(). -
Method Summary