Events/FMLCommonSetupEvent/1.16

From Forge Community Wiki
Revision as of 03:58, 27 July 2021 by ShrimpBot (talk | contribs) (Copy Events/FMLCommonSetupEvent to MC1.16 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/RegistryEvent/1.16s, but before the Events/FMLClientSetupEvent/1.16 and Events/FMLDedicatedServerSetupEvent/1.16. This makes it useful for non-specific mod setup.

Register it any way you would normally register an event.