public class ChunkPreProcessEvent extends CartographerEvent
| Modifier and Type | Field and Description |
|---|---|
protected ChunkLocation |
location |
protected ChunkProcessor |
processor |
| Constructor and Description |
|---|
ChunkPreProcessEvent(ChunkLocation location,
ChunkProcessor processor)
Construct a new ChunkPreProcessEvent at the given
ChunkLocation with the ChunkProcessor provided. |
| Modifier and Type | Method and Description |
|---|---|
ChunkProcessor |
getDataProcessor()
Get the
ChunkProcessor that will be used to process the chunk data. |
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
ChunkLocation |
getLocation()
Get the location of the chunk data to be processed.
|
void |
setDataProcessor(ChunkProcessor processor)
Set the
ChunkProcessor that will be used to process the chunk data. |
callEventprotected final ChunkLocation location
protected ChunkProcessor processor
public ChunkPreProcessEvent(ChunkLocation location, ChunkProcessor processor)
ChunkLocation with the ChunkProcessor provided.location - The location of the chunk. Cannot be null.processor - The processor that will be used. Cannot be null.public ChunkProcessor getDataProcessor()
ChunkProcessor that will be used to process the chunk data.ChunkProcessor should not be null.public void setDataProcessor(ChunkProcessor processor)
ChunkProcessor that will be used to process the chunk data.processor - Cannot be null.public ChunkLocation getLocation()
ChunkLocation of the chunk.public static org.bukkit.event.HandlerList getHandlerList()
public org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Event