Package net.ixdarklord.coolcatcore.api.config
package net.ixdarklord.coolcatcore.api.config
-
ClassDescriptionThe options every entry has.Declares a config: its settings, then its groups and values, then
ConfigBuilder.build()registers and loads it.Every color of a mod's config screens (ARGB).A value that only matters while another value meets a condition, such as "particle count" while "particles" is on.Every config's lifecycle, for code watching configs it didn't declare.Values changed, by any means, on the thread that changed them.The file was read for the first time, when the config is registered.The file was read again after loading: edited on disk (hot reload), the reload command, orConfig.reload().The file was written.Client only: the server's values of a synced config arrived.One value changed, by any means: set in code, a screen or command, a reload, the server's values arriving, or a reset.A named section of a config, holding values and nested groups in declaration order.Upgrades a config file's contents by one version, before the values are read.A group or a value in a config's tree.A named set of values applied together, like "Performance" or "Quality".Collects a preset's values.Where a config lives, which side loads it, and whether the server's values reach the clients.How a mod's config screens look: itscolor schemesfor dark and light mode, an optional background texture, and the icon beside the title (the mod's own icon unless set).How the background texture fills the screen.Dark or light: each player's choice for every mod's config screens.ConfigValue<T>One typed setting.EntryBuilder<T>An entry whose type has no builder options of its own (booleans, enums, colors, ids, custom types).A list entry; its elements are checked by the element type given to theConfigBuilder.A number entry: optionally ranged, optionally shown as a slider.What must restart before a changed value takes effect.How aConfigScope.STARTUPvalue is reconciled with the server's when a client joins.A text entry: optionally limited in length, required, or matched against a pattern.