Uses of Interface
net.neoforged.fml.config.IConfigSpec
Packages that use IConfigSpec
-
Uses of IConfigSpec in net.neoforged.fml
Methods in net.neoforged.fml with parameters of type IConfigSpecModifier and TypeMethodDescriptionvoid
ModContainer.registerConfig
(ModConfig.Type type, IConfigSpec configSpec) Adds aModConfig
with the given type and spec.void
ModContainer.registerConfig
(ModConfig.Type type, IConfigSpec configSpec, String fileName) Adds aModConfig
with the given type, spec, and overridden file name. -
Uses of IConfigSpec in net.neoforged.fml.config
Fields in net.neoforged.fml.config declared as IConfigSpecMethods in net.neoforged.fml.config that return IConfigSpecMethods in net.neoforged.fml.config with parameters of type IConfigSpecModifier and TypeMethodDescriptionprivate static com.electronwill.nightconfig.core.CommentedConfig
ConfigTracker.createDefaultConfig
(IConfigSpec spec) ConfigTracker.registerConfig
(ModConfig.Type type, IConfigSpec spec, ModContainer container) Registers a new configuration of the given type for a mod, using the default filename for this type of config.ConfigTracker.registerConfig
(ModConfig.Type type, IConfigSpec spec, ModContainer container, String fileName) Registers a new configuration of the given type for a mod, using a custom filename.Constructors in net.neoforged.fml.config with parameters of type IConfigSpecModifierConstructorDescription(package private)
ModConfig
(ModConfig.Type type, IConfigSpec spec, ModContainer container, String fileName, ReentrantLock lock) -
Uses of IConfigSpec in net.neoforged.neoforge.common
Classes in net.neoforged.neoforge.common that implement IConfigSpec