Class ModConfigEvent.Unloading
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.fml.event.config.ModConfigEvent
net.minecraftforge.fml.event.config.ModConfigEvent.Unloading
- All Implemented Interfaces:
IConfigEvent
,IModBusEvent
- Enclosing class:
- ModConfigEvent
Fired when a config is unloaded. This only happens when the server closes, which is
probably only really relevant on the client, to reset internal mod state when the
server goes away, though it will fire on the dedicated server as well.
The config file will be saved after this event has fired.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.fml.event.config.ModConfigEvent
ModConfigEvent.Loading, ModConfigEvent.Reloading, ModConfigEvent.Unloading
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
Nested classes/interfaces inherited from interface net.minecraftforge.fml.config.IConfigEvent
IConfigEvent.ConfigConfig
-
Field Summary
Fields inherited from interface net.minecraftforge.fml.config.IConfigEvent
CONFIGCONFIG
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.fml.event.config.ModConfigEvent
getConfig
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.fml.config.IConfigEvent
self
-
Constructor Details
-
Unloading
-