Class ServerStartingEvent

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

public class ServerStartingEvent extends ServerLifecycleEvent
Called after ServerAboutToStartEvent and before ServerStartedEvent. This event allows for customizations of the server. If you need to add commands use RegisterCommandsEvent.
  • 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, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

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