Class FMLCommonSetupEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
All Implemented Interfaces:
IModBusEvent

public class FMLCommonSetupEvent extends ParallelDispatchEvent
This is the first of four commonly called events during mod initialization. Called after RegisterEvent events have been fired and before FMLClientSetupEvent or FMLDedicatedServerSetupEvent during mod startup. Either register your listener using AutomaticEventSubscriber and SubscribeEvent or IEventBus.addListener(Consumer) in your constructor. Most non-specific mod setup will be performed here. Note that this is a parallel dispatched event - you cannot interact with game state in this event.
See Also: