@Environment(value=CLIENT) abstract class ChunkBuilder.BuiltChunk.Task extends Object implements Comparable<ChunkBuilder.BuiltChunk.Task>
Modifier and Type | Field and Description |
---|---|
protected AtomicBoolean |
cancelled |
protected double |
distance |
Constructor and Description |
---|
Task(double double2) |
Modifier and Type | Method and Description |
---|---|
abstract void |
cancel() |
int |
compareTo(ChunkBuilder.BuiltChunk.Task task) |
abstract CompletableFuture<ChunkBuilder.Result> |
run(BlockBufferBuilderStorage buffers) |
protected final double distance
protected final AtomicBoolean cancelled
public abstract CompletableFuture<ChunkBuilder.Result> run(BlockBufferBuilderStorage buffers)
public abstract void cancel()
public int compareTo(ChunkBuilder.BuiltChunk.Task task)
compareTo
in interface Comparable<ChunkBuilder.BuiltChunk.Task>