Package org.bukkit.event.server
Class MapInitializeEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- org.bukkit.event.server.ServerEvent
-
- org.bukkit.event.server.MapInitializeEvent
-
public class MapInitializeEvent extends ServerEvent
Called when a map is initialized.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
-
Constructor Summary
Constructors Constructor Description MapInitializeEvent(@NotNull MapView mapView)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull HandlerList
getHandlerList()
@NotNull HandlerList
getHandlers()
@NotNull MapView
getMap()
Gets the map initialized in this event.-
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
-
-
-
Constructor Detail
-
MapInitializeEvent
public MapInitializeEvent(@NotNull @NotNull MapView mapView)
-
-
Method Detail
-
getMap
@NotNull public @NotNull MapView getMap()
Gets the map initialized in this event.- Returns:
- Map for this event
-
getHandlers
@NotNull public @NotNull HandlerList getHandlers()
- Specified by:
getHandlers
in classEvent
-
getHandlerList
@NotNull public static @NotNull HandlerList getHandlerList()
-
-