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
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.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.ResultNested classes/interfaces inherited from interface net.minecraftforge.fml.config.IConfigEvent
IConfigEvent.ConfigConfig -
Field Summary
FieldsFields inherited from interface net.minecraftforge.fml.config.IConfigEvent
CONFIGCONFIG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.fml.config.IConfigEvent
self
-
Field Details
-
config
-
-
Constructor Details
-
ModConfigEvent
ModConfigEvent(ModConfig config)
-
-
Method Details
-
getConfig
- Specified by:
getConfigin interfaceIConfigEvent
-