Class FMLDedicatedServerSetupEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.fml.event.lifecycle.ModLifecycleEvent
net.minecraftforge.fml.event.lifecycle.ParallelDispatchEvent
net.minecraftforge.fml.event.lifecycle.FMLDedicatedServerSetupEvent
- All Implemented Interfaces:
IModBusEvent
This is the second of four commonly called events during mod core startup.
Called before
InterModEnqueueEvent
Called after FMLCommonSetupEvent
Called on Dist.DEDICATED_SERVER
- the dedicated game server.
Alternative to FMLClientSetupEvent
.
Do dedicated server specific activities with this event.
This event is fired before construction of the dedicated server. Use FMLServerAboutToStartEvent
or FMLServerStartingEvent
to do stuff with the server, in both dedicated
and integrated server contexts
This is a parallel dispatch event.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionFMLDedicatedServerSetupEvent(ModContainer container, ModLoadingStage stage)
-
Method Summary
Methods inherited from class net.minecraftforge.fml.event.lifecycle.ParallelDispatchEvent
enqueueWork, enqueueWork
Methods inherited from class net.minecraftforge.fml.event.lifecycle.ModLifecycleEvent
description, getContainer, getIMCStream, getIMCStream, toString
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
FMLDedicatedServerSetupEvent
-