public class ChunkProcessedEvent extends CartographerEvent
| Modifier and Type | Field and Description |
|---|---|
protected ChunkData |
data |
protected ChunkLocation |
location |
protected Minimap |
map |
| Constructor and Description |
|---|
ChunkProcessedEvent(Minimap map,
ChunkLocation location,
ChunkData chunk)
Construct a new ChunkProcessedEvent for the given
Minimap at the ChunkLocation provided. |
| Modifier and Type | Method and Description |
|---|---|
ChunkData |
getData()
Get the
ChunkData for this event. |
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
ChunkLocation |
getLocation()
Get the
ChunkLocation for this event. |
Minimap |
getMinimap()
Get the
Minimap for this event. |
void |
setData(ChunkData data)
Set the
ChunkData for this event. |
callEventprotected final Minimap map
protected final ChunkLocation location
protected ChunkData data
public ChunkProcessedEvent(Minimap map, ChunkLocation location, ChunkData chunk)
Minimap at the ChunkLocation provided.map - The Minimap for the data. Cannot be null.location - The ChunkLocation for the data. Cannot be null.chunk - The completed ChunkData. Cannot be null.public ChunkData getData()
ChunkData for this event.ChunkData.public void setData(ChunkData data)
ChunkData for this event.data - Non-null and completed ChunkData.public ChunkLocation getLocation()
ChunkLocation for this event.ChunkLocation.public static org.bukkit.event.HandlerList getHandlerList()
public org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Event