Package net.ixdarklord.coolcatcore.api.config.type
package net.ixdarklord.coolcatcore.api.config.type
-
ClassDescription
trueorfalse; typed as true/false, yes/no, on/off or 1/0.CodecType<T>Any value with aCodec: records, maps, item stacks...A packed ARGB color, written as"#RRGGBB"(or"#AARRGGBB"with alpha).ConfigType<T>What a config value is: how it's stored (aCodec, so every file format and the network work alike), what it may be, and how it's typed as text in the config screen and commands.The built-inConfigTypes.One of an enum's constants, stored by name (read case-insensitively).An enum constant with its own name in the config screen.A namespaced id (minecraft:stone).ListType<E>A list whose elements are all of one type (itself possibly constrained), optionally limited in size.Anint,long,floatordouble, optionally within a range.Text, optionally limited in length, required not to be empty, or matched against a pattern.The outcome of checking a value: fine as is, corrected into a valid value (a number clamped into its range, say), or rejected.