abstract class ChunkRenderDispatcher.ChunkRender.ChunkRenderTask extends java.lang.Object implements java.lang.Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
Modifier and Type | Field and Description |
---|---|
protected double |
distanceSq |
protected java.util.concurrent.atomic.AtomicBoolean |
finished |
protected java.util.Map<BlockPos,IModelData> |
modelData |
Constructor and Description |
---|
ChunkRenderTask(ChunkPos pos,
double distanceSqIn) |
ChunkRenderTask(double distanceSqIn) |
Modifier and Type | Method and Description |
---|---|
abstract void |
cancel() |
int |
compareTo(ChunkRenderDispatcher.ChunkRender.ChunkRenderTask p_compareTo_1_) |
abstract java.util.concurrent.CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> |
execute(RegionRenderCacheBuilder builderIn) |
IModelData |
getModelData(BlockPos pos) |
protected final double distanceSq
protected final java.util.concurrent.atomic.AtomicBoolean finished
protected java.util.Map<BlockPos,IModelData> modelData
public ChunkRenderTask(double distanceSqIn)
public ChunkRenderTask(@Nullable ChunkPos pos, double distanceSqIn)
public abstract java.util.concurrent.CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> execute(RegionRenderCacheBuilder builderIn)
public abstract void cancel()
public int compareTo(ChunkRenderDispatcher.ChunkRender.ChunkRenderTask p_compareTo_1_)
compareTo
in interface java.lang.Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
public IModelData getModelData(BlockPos pos)