Class ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
java.lang.Object
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
- All Implemented Interfaces:
Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
- Direct Known Subclasses:
ChunkRenderDispatcher.ChunkRender.RebuildTask
,ChunkRenderDispatcher.ChunkRender.SortTransparencyTask
- Enclosing class:
- ChunkRenderDispatcher.ChunkRender
abstract class ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
extends Object
implements Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final double
protected final AtomicBoolean
protected Map<BlockPos,
IModelData> -
Constructor Summary
ConstructorDescriptionChunkRenderTask
(double p_i226023_2_) ChunkRenderTask
(ChunkPos pos, double p_i226023_2_) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
cancel()
int
compareTo
(ChunkRenderDispatcher.ChunkRender.ChunkRenderTask p_compareTo_1_) doTask
(RegionRenderCacheBuilder p_225618_1_) getModelData
(BlockPos pos)
-
Field Details
-
distAtCreation
protected final double distAtCreation -
isCancelled
-
modelData
-
-
Constructor Details
-
ChunkRenderTask
public ChunkRenderTask(double p_i226023_2_) -
ChunkRenderTask
-
-
Method Details
-
doTask
public abstract CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> doTask(RegionRenderCacheBuilder p_225618_1_) -
cancel
public abstract void cancel() -
compareTo
- Specified by:
compareTo
in interfaceComparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
-
getModelData
-