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() |
getSideapplyModContainer, description, getEventTypepublic FMLServerAboutToStartEvent(java.lang.Object... data)
public LoaderState.ModState getModState()
FMLStateEventgetModState in class FMLStateEventpublic MinecraftServer getServer()