public class FMLServerAboutToStartEvent extends FMLStateEvent
FMLPostInitializationEvent
on the dedicated
server, and after the player has hit "Play Selected World" in the client. Called before FMLServerStartingEvent
.
You can obtain a reference to the server with this event.for how to subscribe to this event
Modifier and Type | Field and Description |
---|---|
private MinecraftServer |
server |
Constructor and Description |
---|
FMLServerAboutToStartEvent(java.lang.Object... data) |
Modifier and Type | Method and Description |
---|---|
LoaderState.ModState |
getModState()
The current state of the mod
|
MinecraftServer |
getServer() |
getSide
applyModContainer, description, getEventType
private MinecraftServer server
public FMLServerAboutToStartEvent(java.lang.Object... data)
public LoaderState.ModState getModState()
FMLStateEvent
getModState
in class FMLStateEvent
public MinecraftServer getServer()