Events/FMLCommonSetupEvent/1.18

From Forge Community Wiki
Revision as of 07:44, 10 June 2022 by ShrimpBot (talk | contribs) (Copy Events/FMLCommonSetupEvent to MC1.18 archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This event is a parallel dispatch event - you must use event.enqueueWork to interact with the game state in any way.

CommonSetup is fired after all the Events/RegistryEvents, but before the Events/FMLClientSetupEvent and Events/FMLDedicatedServerSetupEvent. This makes it useful for non-specific mod setup.

Register it any way you would normally register an event.