Class ChunkRenderDispatcher.RenderChunk.RebuildTask
java.lang.Object
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.RenderChunk.ChunkCompileTask
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.RenderChunk.RebuildTask
- All Implemented Interfaces:
Comparable<ChunkRenderDispatcher.RenderChunk.ChunkCompileTask>
- Enclosing class:
- ChunkRenderDispatcher.RenderChunk
class ChunkRenderDispatcher.RenderChunk.RebuildTask
extends ChunkRenderDispatcher.RenderChunk.ChunkCompileTask
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.RenderChunk.ChunkCompileTask
distAtCreation, isCancelled, modelData
-
Constructor Summary
ConstructorDescriptionRebuildTask(double p_112862_, RenderChunkRegion p_112863_)
Deprecated.RebuildTask(ChunkPos pos, double p_112862_, RenderChunkRegion p_112863_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
private Set<BlockEntity>
compile(float p_112866_, float p_112867_, float p_112868_, ChunkRenderDispatcher.CompiledChunk p_112869_, ChunkBufferBuilderPack p_112870_)
doTask(ChunkBufferBuilderPack p_112872_)
private <E extends BlockEntity>
voidhandleBlockEntity(ChunkRenderDispatcher.CompiledChunk p_112878_, Set<BlockEntity> p_112879_, E p_112880_)
Methods inherited from class net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.RenderChunk.ChunkCompileTask
compareTo, getModelData
-
Field Details
-
region
-
-
Constructor Details
-
RebuildTask
Deprecated. -
RebuildTask
public RebuildTask(@Nullable ChunkPos pos, double p_112862_, @Nullable RenderChunkRegion p_112863_)
-
-
Method Details
-
doTask
public CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> doTask(ChunkBufferBuilderPack p_112872_)- Specified by:
doTask
in classChunkRenderDispatcher.RenderChunk.ChunkCompileTask
-
compile
private Set<BlockEntity> compile(float p_112866_, float p_112867_, float p_112868_, ChunkRenderDispatcher.CompiledChunk p_112869_, ChunkBufferBuilderPack p_112870_) -
handleBlockEntity
private <E extends BlockEntity> void handleBlockEntity(ChunkRenderDispatcher.CompiledChunk p_112878_, Set<BlockEntity> p_112879_, E p_112880_) -
cancel
public void cancel()- Specified by:
cancel
in classChunkRenderDispatcher.RenderChunk.ChunkCompileTask
-