public class FMLServerStartingEvent extends FMLStateEvent
FMLServerAboutToStartEvent
and before FMLServerStartedEvent
.
This event allows for customizations of the server, such as loading custom commands, perhaps customizing recipes or
other activities.for how to subscribe to this event
Constructor and Description |
---|
FMLServerStartingEvent(java.lang.Object... data) |
Modifier and Type | Method and Description |
---|---|
LoaderState.ModState |
getModState()
The current state of the mod
|
MinecraftServer |
getServer() |
void |
registerServerCommand(ICommand command) |
getSide
applyModContainer, description, getEventType
public LoaderState.ModState getModState()
FMLStateEvent
getModState
in class FMLStateEvent
public MinecraftServer getServer()
public void registerServerCommand(ICommand command)