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, isHighPriority, modelData
-
Constructor Summary
ConstructorDescriptionRebuildTask
(double p_194427_, RenderChunkRegion p_194428_, boolean p_194429_) Deprecated.RebuildTask
(ChunkPos pos, double p_194427_, RenderChunkRegion p_194428_, boolean p_194429_) -
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_) protected String
name()
Methods inherited from class net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.RenderChunk.ChunkCompileTask
compareTo, getModelData
-
Field Details
-
region
-
-
Constructor Details
-
RebuildTask
@Deprecated public RebuildTask(@Nullable double p_194427_, RenderChunkRegion p_194428_, boolean p_194429_) Deprecated. -
RebuildTask
public RebuildTask(@Nullable ChunkPos pos, double p_194427_, @Nullable RenderChunkRegion p_194428_, boolean p_194429_)
-
-
Method Details
-
name
- Specified by:
name
in classChunkRenderDispatcher.RenderChunk.ChunkCompileTask
-
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
-