Class ChunkRenderDispatcher.RenderChunk.ChunkCompileTask
java.lang.Object
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.RenderChunk.ChunkCompileTask
- All Implemented Interfaces:
Comparable<ChunkRenderDispatcher.RenderChunk.ChunkCompileTask>
- Direct Known Subclasses:
ChunkRenderDispatcher.RenderChunk.RebuildTask
,ChunkRenderDispatcher.RenderChunk.ResortTransparencyTask
- Enclosing class:
- ChunkRenderDispatcher.RenderChunk
abstract class ChunkRenderDispatcher.RenderChunk.ChunkCompileTask
extends Object
implements Comparable<ChunkRenderDispatcher.RenderChunk.ChunkCompileTask>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final double
protected final AtomicBoolean
protected final boolean
-
Constructor Summary
ConstructorDescriptionChunkCompileTask
(double p_194423_, boolean p_194424_) ChunkCompileTask
(ChunkPos pos, double p_194423_, boolean p_194424_) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
cancel()
int
doTask
(ChunkBufferBuilderPack p_112853_) getModelData
(BlockPos pos) protected abstract String
name()
-
Field Details
-
distAtCreation
protected final double distAtCreation -
isCancelled
-
isHighPriority
protected final boolean isHighPriority -
modelData
-
-
Constructor Details
-
ChunkCompileTask
public ChunkCompileTask(double p_194423_, boolean p_194424_) -
ChunkCompileTask
-
-
Method Details
-
doTask
public abstract CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> doTask(ChunkBufferBuilderPack p_112853_) -
cancel
public abstract void cancel() -
name
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ChunkRenderDispatcher.RenderChunk.ChunkCompileTask>
-
getModelData
-