Uses of Class
io.github.ttno1.configvalidation.ConfigSpec
Packages that use ConfigSpec
-
Uses of ConfigSpec in io.github.ttno1.configvalidation
Methods in io.github.ttno1.configvalidation that return ConfigSpecModifier and TypeMethodDescriptionConfigSpec.addNode
(String path, ConfigNode<?, ?> node) Adds the node to this ConfigSpec at the specified path.
Replaces any node that was previously at the specified path.ConfigSpec.addNodes
(Map<String, ConfigNode<?, ?>> nodeMap) Adds the specified nodes to this ConfigSpec at their corresponding paths.
Replaces any nodes that were previously at any specified paths.static ConfigSpec
<ConfigWrapper> Cfg.newSpec()
static <W> ConfigSpec
<W> Cfg.newSpec
(ConfigFilter<ConfigWrapper, W> filter) Methods in io.github.ttno1.configvalidation with parameters of type ConfigSpecModifier and TypeMethodDescriptionstatic <W,
X> ConfigList <ConfigWrapper, X, W> Cfg.List.ofConfigSpec
(ConfigFilter<List<X>, W> filter, ConfigSpec<X> configSpec) Creates a ConfigList for a list of config subsection values with the specified filter and with the specified ConfigSpec that is validated against every element.