Index
All Classes and Interfaces|All Packages
C
- cancelTask(String) - Method in interface org.popcraft.chunky.api.ChunkyAPI
-
Cancels a generation task in a world.
- chunks() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
chunks
record component. - ChunkyAPI - Interface in org.popcraft.chunky.api
-
The Chunky API
- complete() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
complete
record component. - continueTask(String) - Method in interface org.popcraft.chunky.api.ChunkyAPI
-
Continues a generation task in a world.
E
- equals(Object) - Method in record class org.popcraft.chunky.api.event.task.GenerationCompleteEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Indicates whether some other object is "equal to" this one.
G
- GenerationCompleteEvent - Record Class in org.popcraft.chunky.api.event.task
-
Event which is fired when a generation task completes.
- GenerationCompleteEvent(String) - Constructor for record class org.popcraft.chunky.api.event.task.GenerationCompleteEvent
-
Creates an instance of a
GenerationCompleteEvent
record class. - GenerationProgressEvent - Record Class in org.popcraft.chunky.api.event.task
-
Event which is fired when a generation task calculates progress.
- GenerationProgressEvent(String, long, boolean, float, long, long, long, double, long, long) - Constructor for record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Creates an instance of a
GenerationProgressEvent
record class.
H
- hashCode() - Method in record class org.popcraft.chunky.api.event.task.GenerationCompleteEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns a hash code value for this object.
- hours() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
hours
record component.
I
- isRunning(String) - Method in interface org.popcraft.chunky.api.ChunkyAPI
-
Gets whether a generation task is currently running for a world.
M
- minutes() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
minutes
record component.
O
- onGenerationComplete(Consumer<GenerationCompleteEvent>) - Method in interface org.popcraft.chunky.api.ChunkyAPI
-
Register a listener for generation complete events.
- onGenerationProgress(Consumer<GenerationProgressEvent>) - Method in interface org.popcraft.chunky.api.ChunkyAPI
-
Register a listener for generation progress events.
- org.popcraft.chunky.api - package org.popcraft.chunky.api
- org.popcraft.chunky.api.event.task - package org.popcraft.chunky.api.event.task
P
- pauseTask(String) - Method in interface org.popcraft.chunky.api.ChunkyAPI
-
Pauses a generation task in a world.
- progress() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
progress
record component.
R
- rate() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
rate
record component.
S
- seconds() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
seconds
record component. - startTask(String, String, double, double, double, double, String) - Method in interface org.popcraft.chunky.api.ChunkyAPI
-
Starts a generation task with a given selection in a world.
T
- toString() - Method in record class org.popcraft.chunky.api.event.task.GenerationCompleteEvent
-
Returns a string representation of this record class.
- toString() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns a string representation of this record class.
V
W
- world() - Method in record class org.popcraft.chunky.api.event.task.GenerationCompleteEvent
-
Returns the value of the
world
record component. - world() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
world
record component.
X
- x() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
x
record component.
Z
- z() - Method in record class org.popcraft.chunky.api.event.task.GenerationProgressEvent
-
Returns the value of the
z
record component.
All Classes and Interfaces|All Packages