public interface ChunkPreGenerate
Modifier and Type | Interface and Description |
---|---|
static interface |
ChunkPreGenerate.Builder
A builder for submitting a task to pre-generate chunks.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels this pre-generation if it is still running.
|
int |
getTargetTotalChunks()
The target number of chunks that will be generated or skipped
during this generation.
|
int |
getTotalGeneratedChunks()
The total number of chunks generated during this generation.
|
int |
getTotalSkippedChunks()
The total number of chunks skipped during this generation.
|
Duration |
getTotalTime()
Gets the total wall clock time it has taken (so far) to generate
chunks.
|
WorldProperties |
getWorldProperties()
The
WorldProperties of the world that this task is operating on. |
boolean |
isCancelled()
Gets whether the task for this world has been cancelled
(or completed).
|
WorldProperties getWorldProperties()
WorldProperties
of the world that this task is operating on.WorldProperties
int getTotalGeneratedChunks()
int getTotalSkippedChunks()
int getTargetTotalChunks()
Duration getTotalTime()
Duration
representing the amount of time taken
so far.boolean isCancelled()
void cancel()