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
Modifier and Type | Field and Description |
---|---|
private MinecraftServer |
server |
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
private MinecraftServer server
public LoaderState.ModState getModState()
FMLStateEvent
getModState
in class FMLStateEvent
public MinecraftServer getServer()
public void registerServerCommand(ICommand command)