public class ServerLifecycleHooks
extends java.lang.Object
Constructor and Description |
---|
ServerLifecycleHooks() |
Modifier and Type | Method and Description |
---|---|
static void |
expectServerStopped() |
static MinecraftServer |
getCurrentServer() |
static void |
handleExit(int retVal) |
static boolean |
handleServerAboutToStart(MinecraftServer server) |
static boolean |
handleServerLogin(CHandshakePacket packet,
NetworkManager manager) |
static void |
handleServerStarted(MinecraftServer server) |
static boolean |
handleServerStarting(MinecraftServer server) |
static void |
handleServerStopped(MinecraftServer server) |
static void |
handleServerStopping(MinecraftServer server) |
public static boolean handleServerAboutToStart(MinecraftServer server)
public static boolean handleServerStarting(MinecraftServer server)
public static void handleServerStarted(MinecraftServer server)
public static void handleServerStopping(MinecraftServer server)
public static void expectServerStopped()
public static void handleServerStopped(MinecraftServer server)
public static MinecraftServer getCurrentServer()
public static boolean handleServerLogin(CHandshakePacket packet, NetworkManager manager)
public static void handleExit(int retVal)