Class ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
- java.lang.Object
-
- net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
-
- All Implemented Interfaces:
java.lang.Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
- Direct Known Subclasses:
ChunkRenderDispatcher.ChunkRender.RebuildTask
,ChunkRenderDispatcher.ChunkRender.SortTransparencyTask
- Enclosing class:
- ChunkRenderDispatcher.ChunkRender
abstract class ChunkRenderDispatcher.ChunkRender.ChunkRenderTask extends java.lang.Object implements java.lang.Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
-
-
Field Summary
Fields Modifier and Type Field Description protected double
distAtCreation
protected java.util.concurrent.atomic.AtomicBoolean
isCancelled
protected java.util.Map<BlockPos,IModelData>
modelData
-
Constructor Summary
Constructors Constructor Description ChunkRenderTask(double p_i226023_2_)
ChunkRenderTask(ChunkPos pos, double p_i226023_2_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
cancel()
int
compareTo(ChunkRenderDispatcher.ChunkRender.ChunkRenderTask p_compareTo_1_)
abstract java.util.concurrent.CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult>
doTask(RegionRenderCacheBuilder p_225618_1_)
IModelData
getModelData(BlockPos pos)
-
-
-
Field Detail
-
distAtCreation
protected final double distAtCreation
-
isCancelled
protected final java.util.concurrent.atomic.AtomicBoolean isCancelled
-
modelData
protected java.util.Map<BlockPos,IModelData> modelData
-
-
Constructor Detail
-
ChunkRenderTask
public ChunkRenderTask(double p_i226023_2_)
-
ChunkRenderTask
public ChunkRenderTask(@Nullable ChunkPos pos, double p_i226023_2_)
-
-
Method Detail
-
doTask
public abstract java.util.concurrent.CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> doTask(RegionRenderCacheBuilder p_225618_1_)
-
cancel
public abstract void cancel()
-
compareTo
public int compareTo(ChunkRenderDispatcher.ChunkRender.ChunkRenderTask p_compareTo_1_)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
-
getModelData
public IModelData getModelData(BlockPos pos)
-
-