org.bukkit.event.server.MapInitializeEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chest-server Show documentation
Show all versions of chest-server Show documentation
A spigot fork to kotlin structure and news.
The newest version!
package org.bukkit.event.server;
import org.bukkit.event.HandlerList;
import org.bukkit.map.MapView;
/**
* Called when a map is initialized.
*/
public class MapInitializeEvent extends ServerEvent {
private static final HandlerList handlers = new HandlerList();
private final MapView mapView;
public MapInitializeEvent(final MapView mapView) {
this.mapView = mapView;
}
public static HandlerList getHandlerList() {
return handlers;
}
/**
* Gets the map initialized in this event.
*
* @return Map for this event
*/
public MapView getMap() {
return mapView;
}
@Override
public HandlerList getHandlers() {
return handlers;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy