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
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
public FMLServerAboutToStartEvent(java.lang.Object... data)
public LoaderState.ModState getModState()
FMLStateEvent
getModState
in class FMLStateEvent
public MinecraftServer getServer()