public static interface ChunkPreGenerationEvent.Pre extends ChunkPreGenerationEvent, Cancellable
ChunkPreGenerationEvent.Cancelled, ChunkPreGenerationEvent.Complete, ChunkPreGenerationEvent.Post, ChunkPreGenerationEvent.Pre
Modifier and Type | Method and Description |
---|---|
boolean |
getSkipStep()
Returns whether the chunk generator will skip generation this time
around.
|
void |
setSkipStep(boolean skipStep)
Sets whether the next step should be skipped.
|
getChunkPreGenerate
getTargetWorld
getCause, getContext, getSource
isCancelled, setCancelled
boolean getSkipStep()
Use Cancellable.isCancelled()
to check for cancellation of the
entire generation task.
true
if the next step will be skipped.void setSkipStep(boolean skipStep)
Use Cancellable.setCancelled(boolean)
to cancel the entire pre
generation task.
skipStep
- If set to true
, the next step will be
skipped.