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
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final class
-
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()
compile
(float p_234468_, float p_234469_, float p_234470_, ChunkBufferBuilderPack p_234471_) doTask
(ChunkBufferBuilderPack p_112872_) private <E extends BlockEntity>
voidhandleBlockEntity
(ChunkRenderDispatcher.RenderChunk.RebuildTask.CompileResults p_234477_, E p_234478_) 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 ChunkRenderDispatcher.RenderChunk.RebuildTask.CompileResults compile(float p_234468_, float p_234469_, float p_234470_, ChunkBufferBuilderPack p_234471_) -
handleBlockEntity
private <E extends BlockEntity> void handleBlockEntity(ChunkRenderDispatcher.RenderChunk.RebuildTask.CompileResults p_234477_, E p_234478_) -
cancel
public void cancel()- Specified by:
cancel
in classChunkRenderDispatcher.RenderChunk.ChunkCompileTask
-