Class BuildMcFinishedLoadingEvent
java.lang.Object
org.bukkit.event.Event
net.mathias2246.buildmc.api.event.CustomEvent
net.mathias2246.buildmc.api.event.lifecycle.BuildMcFinishedLoadingEvent
Fired when BuildMC has finished loading and is up and running.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Field Summary
Fields inherited from class net.mathias2246.buildmc.api.event.CustomEvent
metadataHolder -
Constructor Summary
ConstructorsConstructorDescriptionBuildMcFinishedLoadingEvent(@NotNull BuildMcAPI api) Constructs a new BuildMcInitializedEvent. -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildMcAPIgetApi()Gets the BuildMC API instance.static org.bukkit.event.HandlerListGets the static list of handlers for this event type.@NotNull org.bukkit.event.HandlerListGets the list of handlers for this event.Methods inherited from class net.mathias2246.buildmc.api.event.CustomEvent
getMetadata, putMetadata, removeMetadataMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
BuildMcFinishedLoadingEvent
Constructs a new BuildMcInitializedEvent.- Parameters:
api- the usable BuildMC API instance
-
-
Method Details
-
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:
getHandlersin classCustomEvent- 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
-