Class ModConfigEvent.Reloading

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.fml.event.config.ModConfigEvent
net.minecraftforge.fml.event.config.ModConfigEvent.Reloading
All Implemented Interfaces:
IConfigEvent, IModBusEvent
Enclosing class:
ModConfigEvent

public static class ModConfigEvent.Reloading extends ModConfigEvent
Fired when the configuration is changed. This can be caused by a change to the config from a UI or from editing the file itself. IMPORTANT: this can fire at any time and may not even be on the server or client threads. Ensure you properly synchronize any resultant changes.
  • Constructor Details

    • Reloading

      public Reloading(ModConfig config)