Views
Actions
Difference between revisions of "Events/FMLCommonSetupEvent/1.16"
From Forge Community Wiki
(Copy Events/FMLCommonSetupEvent to MC1.16 archive) |
(Copy Events/FMLCommonSetupEvent to MC1.16 archive) |
||
Line 1: | Line 1: | ||
This event is a parallel dispatch event - you must use <code>event.enqueueWork</code> to interact with the game state in any way. | This event is a parallel dispatch event - you must use <code>event.enqueueWork</code> to interact with the game state in any way. | ||
− | CommonSetup is fired after all the [[Events/RegistryEvent/1.16]]s, but before the [[Events/FMLClientSetupEvent/1.16]] and [[Events/FMLDedicatedServerSetupEvent/1.16]]. This makes it useful for non-specific mod setup. | + | CommonSetup is fired after all the [[Events/RegistryEvent/1.16|Events/RegistryEvent]]s, but before the [[Events/FMLClientSetupEvent/1.16|Events/FMLClientSetupEvent]] and [[Events/FMLDedicatedServerSetupEvent/1.16|Events/FMLDedicatedServerSetupEvent]]. This makes it useful for non-specific mod setup. |
Register it any way you would normally register an event. | Register it any way you would normally register an event. |
Latest revision as of 04:14, 27 July 2021
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.