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 class
Fired during mod and server loading, depending onModConfig.Type
of config file.static class
Fired when the configuration is changed.static class
Fired 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
-