public class FMLDedicatedServerSetupEvent extends ModLifecycleEvent
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 is a parallel dispatch event.Modifier and Type | Field and Description |
---|---|
private java.util.function.Supplier<DedicatedServer> |
serverSupplier |
Constructor and Description |
---|
FMLDedicatedServerSetupEvent(java.util.function.Supplier<DedicatedServer> server,
ModContainer container) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Supplier<DedicatedServer> |
getServerSupplier() |
description, getIMCStream, getIMCStream, toString
private final java.util.function.Supplier<DedicatedServer> serverSupplier
public FMLDedicatedServerSetupEvent(java.util.function.Supplier<DedicatedServer> server, ModContainer container)
public java.util.function.Supplier<DedicatedServer> getServerSupplier()