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
-
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 distAtCreation, RenderChunkRegion region, boolean isHighPriority) Deprecated.RebuildTask(double distAtCreation, RenderChunkRegion region, boolean isHighPriority, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()doTask(SectionBufferBuilderPack sectionBufferBuilderPack) 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 distAtCreation, @Nullable RenderChunkRegion region, boolean isHighPriority) Deprecated. -
RebuildTask
public RebuildTask(double distAtCreation, @Nullable RenderChunkRegion region, boolean isHighPriority, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers)
-
-
Method Details
-
name
- Specified by:
namein classSectionRenderDispatcher.RenderSection.CompileTask
-
doTask
public CompletableFuture<SectionRenderDispatcher.SectionTaskResult> doTask(SectionBufferBuilderPack sectionBufferBuilderPack) - Specified by:
doTaskin classSectionRenderDispatcher.RenderSection.CompileTask
-
cancel
public void cancel()- Specified by:
cancelin classSectionRenderDispatcher.RenderSection.CompileTask
-