Views
Actions
Difference between revisions of "Events/FMLCommonSetupEvent/1.18"
From Forge Community Wiki
(Copy Events/FMLCommonSetupEvent to MC1.18 archive) |
(No difference)
|
Latest revision as of 07:44, 10 June 2022
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.