Class NightConfigWrapper
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.NightConfigWrapper
- All Implemented Interfaces:
net.minecraftforge.forgespi.language.IConfigurable
public class NightConfigWrapper
extends Object
implements net.minecraftforge.forgespi.language.IConfigurable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNightConfigWrapper
(com.electronwill.nightconfig.core.UnmodifiableConfig config) -
Method Summary
Modifier and TypeMethodDescription<T> Optional<T>
getConfigElement
(String... key) List<? extends net.minecraftforge.forgespi.language.IConfigurable>
getConfigList
(String... key) (package private) NightConfigWrapper
setFile
(net.minecraftforge.forgespi.language.IModFileInfo file)
-
Field Details
-
config
private final com.electronwill.nightconfig.core.UnmodifiableConfig config -
file
private net.minecraftforge.forgespi.language.IModFileInfo file
-
-
Constructor Details
-
NightConfigWrapper
public NightConfigWrapper(com.electronwill.nightconfig.core.UnmodifiableConfig config)
-
-
Method Details
-
setFile
-
getConfigElement
- Specified by:
getConfigElement
in interfacenet.minecraftforge.forgespi.language.IConfigurable
-
getConfigList
public List<? extends net.minecraftforge.forgespi.language.IConfigurable> getConfigList(String... key) - Specified by:
getConfigList
in interfacenet.minecraftforge.forgespi.language.IConfigurable
-