Class BuildMcFinishedLoadingEvent

java.lang.Object
org.bukkit.event.Event
net.mathias2246.buildmc.api.event.CustomEvent
net.mathias2246.buildmc.api.event.lifecycle.BuildMcFinishedLoadingEvent

public class BuildMcFinishedLoadingEvent extends CustomEvent
Fired when BuildMC has finished loading and is up and running.
  • Constructor Details

    • BuildMcFinishedLoadingEvent

      public BuildMcFinishedLoadingEvent(@NotNull @NotNull BuildMcAPI api)
      Constructs a new BuildMcInitializedEvent.
      Parameters:
      api - the usable BuildMC API instance
  • Method Details

    • getApi

      @NotNull public @NotNull BuildMcAPI getApi()
      Gets the BuildMC API instance.
      Returns:
      the BuildMC API instance
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Gets the list of handlers for this event.
      Specified by:
      getHandlers in class CustomEvent
      Returns:
      the handler list
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Gets the static list of handlers for this event type. Required by Bukkit for event registration.
      Returns:
      the handler list