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 before FMLClientSetupEvent or FMLDedicatedServerSetupEvent during mod startup. Called after RegistryEvent.Register events have been fired. 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:
  • Constructor Details

    • FMLCommonSetupEvent

      public FMLCommonSetupEvent(ModContainer container)