Package net.neoforged.neoforge.common
Class NeoForgeConfig
java.lang.Object
net.neoforged.neoforge.common.NeoForgeConfig
NeoForge's own configuration.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Client specific configuration - only loaded clientside from neoforge-client.tomlstatic class
General configuration that doesn't need to be synchronized but needs to be available before server startupstatic class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NeoForgeConfig.Client
(package private) static final ModConfigSpec
static final NeoForgeConfig.Common
(package private) static final ModConfigSpec
static final NeoForgeConfig.Server
(package private) static final ModConfigSpec
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
onFileChange
(net.neoforged.fml.event.config.ModConfigEvent.Reloading configEvent) static void
onLoad
(net.neoforged.fml.event.config.ModConfigEvent.Loading configEvent)
-
Field Details
-
clientSpec
-
CLIENT
-
commonSpec
-
COMMON
-
serverSpec
-
SERVER
-
-
Constructor Details
-
NeoForgeConfig
public NeoForgeConfig()
-
-
Method Details
-
onLoad
public static void onLoad(net.neoforged.fml.event.config.ModConfigEvent.Loading configEvent) -
onFileChange
public static void onFileChange(net.neoforged.fml.event.config.ModConfigEvent.Reloading configEvent)
-