public class MapUpdateBlockEvent extends MinimapEvent
Minimap
with the MapPalette
provided.map
Constructor and Description |
---|
MapUpdateBlockEvent(Minimap map,
org.bukkit.Location location,
MinimapPalette palette)
Construct a MapUpdateBlockEvent with the given
Minimap and MinimapPalette . |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.Location |
getLocation()
Get the location involved in this event.
|
MinimapPalette |
getPalette()
Get the
MinimapPalette to be used. |
void |
setPalette(MinimapPalette palette)
Set the
MinimapPalette to be used. |
getMinimap
callEvent
public MapUpdateBlockEvent(Minimap map, org.bukkit.Location location, MinimapPalette palette)
Minimap
and MinimapPalette
.map
- The Minimap
updating the location. Cannot be null.location
- The location to update. Cannot be null.palette
- The MinimapPalette
which will be used. Cannot be null.public org.bukkit.Location getLocation()
public MinimapPalette getPalette()
MinimapPalette
to be used.MinimapPalette
.public void setPalette(MinimapPalette palette)
MinimapPalette
to be used.palette
- Cannot be null.public static org.bukkit.event.HandlerList getHandlerList()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class MinimapEvent