Class SectionRenderDispatcher.RenderSection.RebuildTask
java.lang.Object
net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.RebuildTask
- All Implemented Interfaces:
Comparable<SectionRenderDispatcher.RenderSection.CompileTask>
- Enclosing class:
- SectionRenderDispatcher.RenderSection
class SectionRenderDispatcher.RenderSection.RebuildTask
extends SectionRenderDispatcher.RenderSection.CompileTask
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final class
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
distAtCreation, isCancelled, isHighPriority, modelData
-
Constructor Summary
ConstructorDescriptionRebuildTask
(double p_301300_, RenderChunkRegion p_300496_, boolean p_299891_) Deprecated.RebuildTask
(ChunkPos pos, double p_301300_, RenderChunkRegion p_300496_, boolean p_299891_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
compile
(float p_297372_, float p_300511_, float p_298415_, SectionBufferBuilderPack p_300020_) doTask
(SectionBufferBuilderPack p_299595_) private <E extends BlockEntity>
voidhandleBlockEntity
(SectionRenderDispatcher.RenderSection.RebuildTask.CompileResults p_297364_, E p_299361_) protected String
name()
Methods inherited from class net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
compareTo, getModelData
-
Field Details
-
region
-
-
Constructor Details
-
RebuildTask
@Deprecated public RebuildTask(double p_301300_, @Nullable RenderChunkRegion p_300496_, boolean p_299891_) Deprecated. -
RebuildTask
public RebuildTask(@Nullable ChunkPos pos, double p_301300_, @Nullable RenderChunkRegion p_300496_, boolean p_299891_)
-
-
Method Details
-
name
- Specified by:
name
in classSectionRenderDispatcher.RenderSection.CompileTask
-
doTask
public CompletableFuture<SectionRenderDispatcher.SectionTaskResult> doTask(SectionBufferBuilderPack p_299595_) - Specified by:
doTask
in classSectionRenderDispatcher.RenderSection.CompileTask
-
compile
private SectionRenderDispatcher.RenderSection.RebuildTask.CompileResults compile(float p_297372_, float p_300511_, float p_298415_, SectionBufferBuilderPack p_300020_) -
handleBlockEntity
private <E extends BlockEntity> void handleBlockEntity(SectionRenderDispatcher.RenderSection.RebuildTask.CompileResults p_297364_, E p_299361_) -
cancel
public void cancel()- Specified by:
cancel
in classSectionRenderDispatcher.RenderSection.CompileTask
-