Class ServerAboutToStartEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.server.ServerLifecycleEvent
net.minecraftforge.event.server.ServerAboutToStartEvent

public class ServerAboutToStartEvent extends ServerLifecycleEvent
Called before the server begins loading anything. Called after InterModProcessEvent on the dedicated server, and after the player has hit "Play Selected World" in the client. Called before ServerStartingEvent. You can obtain a reference to the server with this event.
Author:
cpw
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields inherited from class net.minecraftforge.event.server.ServerLifecycleEvent

    server
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class net.minecraftforge.event.server.ServerLifecycleEvent

    getServer

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServerAboutToStartEvent

      public ServerAboutToStartEvent(MinecraftServer server)