Package net.neoforged.fml.event.config
Class ModConfigEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.fml.event.config.ModConfigEvent
- All Implemented Interfaces:
IModBusEvent
- Direct Known Subclasses:
ModConfigEvent.Loading,ModConfigEvent.Reloading,ModConfigEvent.Unloading
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFired during mod and server loading, depending onModConfig.Typeof config file.static classFired when the configuration is changed.static classFired when a config is unloaded - that is, when a server (integrated or dedicated) shuts down or when a player disconnects from a remote server. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
config
-
-
Constructor Details
-
ModConfigEvent
ModConfigEvent(ModConfig config)
-
-
Method Details
-
getConfig
-