Class ModConfigEvent.Unloading

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.fml.event.config.ModConfigEvent
net.neoforged.fml.event.config.ModConfigEvent.Unloading
All Implemented Interfaces:
IModBusEvent
Enclosing class:
ModConfigEvent

public static class ModConfigEvent.Unloading extends ModConfigEvent
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. The config file will be saved after this event has fired.
  • Constructor Details

    • Unloading

      public Unloading(ModConfig config)