Class ModConfigEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.fml.event.config.ModConfigEvent
- All Implemented Interfaces:
IConfigEvent
,IModBusEvent
- Direct Known Subclasses:
ModConfigEvent.Loading
,ModConfigEvent.Reloading
,ModConfigEvent.Unloading
public class ModConfigEvent
extends net.minecraftforge.eventbus.api.Event
implements IModBusEvent, IConfigEvent
-
Nested Class Summary
Modifier 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.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.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
-
Field Details
-
config
-
-
Constructor Details
-
ModConfigEvent
ModConfigEvent(ModConfig config)
-
-
Method Details
-
getConfig
- Specified by:
getConfig
in interfaceIConfigEvent
-