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
Nested ClassesModifier and TypeClassDescription(package private) static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<AddSectionGeometryEvent.AdditionalSectionRenderer> protected RenderChunkRegionFields inherited from class net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
distAtCreation, isCancelled, isHighPriority -
Constructor Summary
ConstructorsConstructorDescriptionRebuildTask(double p_294400_, RenderChunkRegion p_294382_, boolean p_295207_) Deprecated.RebuildTask(double p_294400_, RenderChunkRegion p_294382_, boolean p_295207_, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()compile(float p_294894_, float p_295437_, float p_294465_, SectionBufferBuilderPack p_294319_) doTask(SectionBufferBuilderPack p_296138_) private <E extends BlockEntity>
voidhandleBlockEntity(SectionRenderDispatcher.RenderSection.RebuildTask.CompileResults p_294198_, E p_296214_) protected Stringname()Methods inherited from class net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
compareTo
-
Field Details
-
region
-
additionalRenderers
-
-
Constructor Details
-
RebuildTask
@Deprecated public RebuildTask(double p_294400_, @Nullable RenderChunkRegion p_294382_, boolean p_295207_) Deprecated. -
RebuildTask
public RebuildTask(double p_294400_, @Nullable RenderChunkRegion p_294382_, boolean p_295207_, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers)
-
-
Method Details
-
name
- Specified by:
namein classSectionRenderDispatcher.RenderSection.CompileTask
-
doTask
public CompletableFuture<SectionRenderDispatcher.SectionTaskResult> doTask(SectionBufferBuilderPack p_296138_) - Specified by:
doTaskin classSectionRenderDispatcher.RenderSection.CompileTask
-
compile
private SectionRenderDispatcher.RenderSection.RebuildTask.CompileResults compile(float p_294894_, float p_295437_, float p_294465_, SectionBufferBuilderPack p_294319_) -
handleBlockEntity
private <E extends BlockEntity> void handleBlockEntity(SectionRenderDispatcher.RenderSection.RebuildTask.CompileResults p_294198_, E p_296214_) -
cancel
public void cancel()- Specified by:
cancelin classSectionRenderDispatcher.RenderSection.CompileTask
-