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(MapView mapView)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HandlerList
getHandlerList()
HandlerList
getHandlers()
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 MapView mapView)
-
-
Method Detail
-
getMap
@NotNull public MapView getMap()
Gets the map initialized in this event.- Returns:
- Map for this event
-
getHandlers
@NotNull public HandlerList getHandlers()
- Specified by:
getHandlers
in classEvent
-
getHandlerList
@NotNull public static HandlerList getHandlerList()
-
-